Enum number_prefix::Result
[−]
[src]
pub enum Result<F> { Standalone(F), Prefixed(Prefix, F), }
The result of trying to apply a prefix to a floating-point value.
Variants
Standalone(F)
A standalone value is returned when the number is too small to have any prefixes applied to it. This is commonly a special case, so is handled separately.
Prefixed(Prefix, F)
A prefixed value is large enough for prefixes. This holds the prefix, as well as the resulting value.
Trait Implementations
impl<F: Debug> Debug for Result<F>
[src]
impl<F: Clone> Clone for Result<F>
[src]
fn clone(&self) -> Result<F>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more