Struct rt_format::parser::Substitution
source · [−]pub struct Substitution<'v, V: FormatArgument> { /* private fields */ }Expand description
A value and its formatting specifier.
Implementations
Create an Substitution if the given value supports the given format.
Trait Implementations
impl<'v, V: PartialEq + FormatArgument> PartialEq<Substitution<'v, V>> for Substitution<'v, V>
impl<'v, V: PartialEq + FormatArgument> PartialEq<Substitution<'v, V>> for Substitution<'v, V>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'v, V> RefUnwindSafe for Substitution<'v, V> where
V: RefUnwindSafe,
impl<'v, V> Send for Substitution<'v, V> where
V: Sync,
impl<'v, V> Sync for Substitution<'v, V> where
V: Sync,
impl<'v, V> Unpin for Substitution<'v, V>
impl<'v, V> UnwindSafe for Substitution<'v, V> where
V: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more