Trait choreographer::LossyIntoF32[][src]

pub trait LossyIntoF32 {
    fn lossy_into(&self) -> f32;
}
Expand description

A trait to convert integers into f32s

This conversion may be lossy, but we’re not too worried about precision here.

Required methods

Convert a number into a float, possibly losing precision or accumulating error

Implementations on Foreign Types

Implementors