[][src]Enum ufmt_float::uFmt_f64

pub enum uFmt_f64 {
    Zero(f64),
    One(f64),
    Two(f64),
    Three(f64),
    Four(f64),
    Five(f64),
}

Select the variant with the level of precision required

Variants

Zero(f64)

3

One(f64)

3.1

Two(f64)

3.14

Three(f64)

3.141

Four(f64)

3.1415

Five(f64)

3.14159

Trait Implementations

impl Clone for uFmt_f64[src]

impl Copy for uFmt_f64[src]

impl Debug for uFmt_f64[src]

impl uDisplay for uFmt_f64[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_f64

impl Sync for uFmt_f64

impl Unpin for uFmt_f64

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.