pub trait ToFloat {
    type Float;

    // Required method
    fn to_float(self) -> Self::Float;
}

Required Associated Types§

Required Methods§

source

fn to_float(self) -> Self::Float

Implementations on Foreign Types§

source§

impl ToFloat for u32

§

type Float = f32

source§

fn to_float(self) -> Self::Float

source§

impl ToFloat for u64

§

type Float = f64

source§

fn to_float(self) -> Self::Float

Implementors§