Struct fast_fmt::Instantiated
[−]
[src]
pub struct Instantiated<'a, T, S: 'a> { /* fields omitted */ }
Pair of value and a strategy that implements Fmt
. This allows combining many different
strategies in single chain.
Methods
impl<'a, S, T: Fmt<S>> Instantiated<'a, T, S>
[src]
Trait Implementations
impl<'a, S, T: Fmt<S>> Fmt for Instantiated<'a, T, S>
[src]
fn fmt<W: Write>(
&self,
writer: &mut W,
_strategy: &Display
) -> Result<(), W::Error>
&self,
writer: &mut W,
_strategy: &Display
) -> Result<(), W::Error>
The implementor should write itself into writer
inside this function.
fn size_hint(&self, _strategy: &Display) -> usize
The implementor should estimate how many bytes would it's representation have in UTF-8 if formated using specific strategy. Read more
fn transformed<T: Transform>(self, transformation: T) -> Transformed<Self, T> where
Self: Sized,
Self: Sized,
Combinator for transforming the value,