Struct rt_format::parser::Substitution
source · [−]pub struct Substitution<'v, V: FormatArgument> { /* private fields */ }
Expand description
A value and its formatting specifier.
Implementations
sourceimpl<'v, V: FormatArgument> Substitution<'v, V>
impl<'v, V: FormatArgument> Substitution<'v, V>
Trait Implementations
sourceimpl<'v, V: Clone + FormatArgument> Clone for Substitution<'v, V>
impl<'v, V: Clone + FormatArgument> Clone for Substitution<'v, V>
sourcefn clone(&self) -> Substitution<'v, V>
fn clone(&self) -> Substitution<'v, V>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'v, V: Debug + FormatArgument> Debug for Substitution<'v, V>
impl<'v, V: Debug + FormatArgument> Debug for Substitution<'v, V>
sourceimpl<'v, V: FormatArgument> Display for Substitution<'v, V>
impl<'v, V: FormatArgument> Display for Substitution<'v, V>
sourceimpl<'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>
sourcefn eq(&self, other: &Substitution<'v, V>) -> bool
fn eq(&self, other: &Substitution<'v, V>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Substitution<'v, V>) -> bool
fn ne(&self, other: &Substitution<'v, V>) -> bool
This method tests for !=
.
impl<'v, V: Copy + FormatArgument> Copy for Substitution<'v, V>
impl<'v, V: FormatArgument> StructuralPartialEq for Substitution<'v, V>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more