[][src]Trait scales::prelude::ToFloat

pub trait ToFloat<F> {
    pub fn to_float(self) -> F;
}

Something that can be converted to a floating point number.

Required methods

pub fn to_float(self) -> F[src]

Convert self into a floating point number.

Loading content...

Implementations on Foreign Types

impl ToFloat<f64> for f32[src]

impl ToFloat<f64> for f64[src]

impl ToFloat<f32> for f64[src]

impl ToFloat<f32> for f32[src]

Loading content...

Implementors

impl<F, I> ToFloat<F> for I where
    F: FromInt<I>, 
[src]

Loading content...