Struct fast_fmt::Empty
[−]
[src]
pub struct Empty;
Empty type that never writes anything.
This is mostly a helper for macros.
Methods
impl Empty
[src]
Trait Implementations
impl Debug for Empty
[src]
impl Default for Empty
[src]
impl Copy for Empty
[src]
impl Clone for Empty
[src]
fn clone(&self) -> Empty
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<S> Fmt<S> for Empty
[src]
fn fmt<W: Write>(&self, _writer: &mut W, _strategy: &S) -> Result<(), W::Error>
The implementor should write itself into writer
inside this function.
fn size_hint(&self, _strategy: &S) -> 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,