Enum dynfmt::Count[][src]

pub enum Count<'a> {
    Value(usize),
    Ref(Position<'a>),
}

The value of a formatting parameter, used within ArgumentSpec.

Variants

Value(usize)

The literal value as specified in the format string.

Ref(Position<'a>)

Reference to an argument in the argument list.

Trait Implementations

impl<'a> Clone for Count<'a>[src]

impl<'a> Copy for Count<'a>[src]

impl<'a> Debug for Count<'a>[src]

impl<'a> Eq for Count<'a>[src]

impl<'a> Hash for Count<'a>[src]

impl<'a> Ord for Count<'a>[src]

impl<'a> PartialEq<Count<'a>> for Count<'a>[src]

impl<'a> PartialOrd<Count<'a>> for Count<'a>[src]

impl<'a> StructuralEq for Count<'a>[src]

impl<'a> StructuralPartialEq for Count<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Count<'a>

impl<'a> Send for Count<'a>

impl<'a> Sync for Count<'a>

impl<'a> Unpin for Count<'a>

impl<'a> UnwindSafe for Count<'a>

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.