[][src]Enum ufmt_float::uFmt_f32

pub enum uFmt_f32 {
    Zero(f32),
    One(f32),
    Two(f32),
    Three(f32),
    Four(f32),
    Five(f32),
}

Select the variant with the level of precision required

Variants

Zero(f32)

3

One(f32)

3.1

Two(f32)

3.14

Three(f32)

3.141

Four(f32)

3.1415

Five(f32)

3.14159

Trait Implementations

impl Clone for uFmt_f32[src]

impl Copy for uFmt_f32[src]

impl Debug for uFmt_f32[src]

impl uDisplay for uFmt_f32[src]

fn fmt<W: ?Sized>(&self, f: &mut Formatter<W>) -> Result<(), W::Error> where
    W: uWrite, 
[src]

Output the top digits, decimal point and the requested decimals based on the precision selected

Auto Trait Implementations

impl Send for uFmt_f32

impl Sync for uFmt_f32

impl Unpin for uFmt_f32

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.