Enum num_runtime_fmt::Base[][src]

pub enum Base {
    Binary,
    Octal,
    Decimal,
    LowerHex,
    UpperHex,
}

The base / format with which to represent this number.

  • Binary: Emit this number’s binary representation
  • Octal: Emit this number’s octal representation
  • Decimal: Emit this number’s decimal representation (default)
  • LowerHex: Emit this number’s hexadecimal representation with lowercase letters
  • UpperHex: Emit this number’s hexadecimal representation with uppercase letters

Variants

Binary
Octal
Decimal
LowerHex
UpperHex

Trait Implementations

impl Clone for Base[src]

impl Copy for Base[src]

impl Debug for Base[src]

impl Default for Base[src]

impl Eq for Base[src]

impl PartialEq<Base> for Base[src]

impl StructuralEq for Base[src]

impl StructuralPartialEq for Base[src]

Auto Trait Implementations

impl RefUnwindSafe for Base

impl Send for Base

impl Sync for Base

impl Unpin for Base

impl UnwindSafe for Base

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.