float

Trait Cast

Source
pub trait Cast<T> {
    // Required method
    fn cast(self) -> T;
}
Expand description

Casts into another type.

Required Methods§

Source

fn cast(self) -> T

Casts into other type.

Implementations on Foreign Types§

Source§

impl Cast<f32> for f32

Source§

fn cast(self) -> f32

Source§

impl Cast<f32> for f64

Source§

fn cast(self) -> f32

Source§

impl Cast<f64> for f32

Source§

fn cast(self) -> f64

Source§

impl Cast<f64> for f64

Source§

fn cast(self) -> f64

Implementors§