Enum friendly::scale::Scale [−][src]
pub enum Scale<F: PrefixFamily> { Auto, Native, Fixed(F::Prefix), }
Expand description
A scale
Variants
Auto-scale to the best-fitting prefix.
Display the number in its native scale.
Fixed(F::Prefix)
Use a specific fixed prefix.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for Scale<F> where
<F as PrefixFamily>::Prefix: RefUnwindSafe,
impl<F> Send for Scale<F> where
<F as PrefixFamily>::Prefix: Send,
impl<F> Sync for Scale<F> where
<F as PrefixFamily>::Prefix: Sync,
impl<F> Unpin for Scale<F> where
<F as PrefixFamily>::Prefix: Unpin,
impl<F> UnwindSafe for Scale<F> where
<F as PrefixFamily>::Prefix: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more