Trait fast_fmt::Fmt
[−]
[src]
pub trait Fmt<S = Display> { fn fmt<W: Write>(
&self,
writer: &mut W,
strategy: &S
) -> Result<(), W::Error>; fn size_hint(&self, strategy: &S) -> usize; }
Required Methods
fn fmt<W: Write>(&self, writer: &mut W, strategy: &S) -> Result<(), W::Error>
fn size_hint(&self, strategy: &S) -> usize
Implementors
impl Fmt<Display> for i8
impl Fmt<Display> for i16
impl Fmt<Display> for i32
impl Fmt<Display> for i64
impl Fmt<Display> for u8
impl Fmt<Display> for u16
impl Fmt<Display> for u32
impl Fmt<Display> for u64
impl Fmt for String
impl<'a, S, T: ?Sized + Fmt<S>> Fmt<S> for &'a T
impl<'a, S, T: Fmt<S>> Fmt for Instantiated<'a, T, S>
impl<S, T0: Fmt<S>, T1: Fmt<S>> Fmt<S> for Chain<T0, T1>
impl<S> Fmt<S> for Empty
impl Fmt<Display> for str
impl Fmt<Display> for char