Enum std::num::flt2dec::Sign [] [src]

pub enum Sign {
    Minus,
    MinusRaw,
    MinusPlus,
    MinusPlusRaw,
}
Unstable (flt2dec)

: internal routines only exposed for testing

Sign formatting options.

Variants

Minus
Unstable (flt2dec)

: internal routines only exposed for testing

Prints - only for the negative non-zero values.

MinusRaw
Unstable (flt2dec)

: internal routines only exposed for testing

Prints - only for any negative values (including the negative zero).

MinusPlus
Unstable (flt2dec)

: internal routines only exposed for testing

Prints - for the negative non-zero values, or + otherwise.

MinusPlusRaw
Unstable (flt2dec)

: internal routines only exposed for testing

Prints - for any negative values (including the negative zero), or + otherwise.

Trait Implementations

Derived Implementations

impl Debug for Sign

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl Eq for Sign

fn assert_receiver_is_total_eq(&self)

impl PartialEq<Sign> for Sign

fn eq(&self, __arg_0: &Sign) -> bool

fn ne(&self, __arg_0: &Sign) -> bool

impl Clone for Sign

fn clone(&self) -> Sign

fn clone_from(&mut self, source: &Self)

impl Copy for Sign