pub enum Count<'a> {
Value(usize),
Ref(Position<'a>),
}
Expand description
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§
Source§impl<'a> Ord for Count<'a>
impl<'a> Ord for Count<'a>
Source§impl<'a> PartialOrd for Count<'a>
impl<'a> PartialOrd for Count<'a>
impl<'a> Copy for Count<'a>
impl<'a> Eq for Count<'a>
impl<'a> StructuralPartialEq for Count<'a>
Auto Trait Implementations§
impl<'a> Freeze for Count<'a>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.