Trait PrintWithSize

Source
pub trait PrintWithSize {
    // Required method
    fn fmt_with_size(
        &self,
        f: &mut Formatter<'_>,
        options: &Options,
        indent: usize,
        sizes: &[Size],
        index: &mut usize,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn fmt_with_size( &self, f: &mut Formatter<'_>, options: &Options, indent: usize, sizes: &[Size], index: &mut usize, ) -> Result<(), Error>

Implementations on Foreign Types§

Source§

impl<'a, T> PrintWithSize for &'a T
where T: PrintWithSize + ?Sized,

Source§

fn fmt_with_size( &self, f: &mut Formatter<'_>, options: &Options, indent: usize, sizes: &[Size], index: &mut usize, ) -> Result<(), Error>

Source§

impl<T> PrintWithSize for Vec<T>
where T: PrintWithSize,

Source§

fn fmt_with_size( &self, f: &mut Formatter<'_>, options: &Options, indent: usize, sizes: &[Size], index: &mut usize, ) -> Result<(), Error>

Source§

impl<T> PrintWithSize for Stripped<T>
where T: PrintWithSize,

Source§

fn fmt_with_size( &self, f: &mut Formatter<'_>, options: &Options, indent: usize, sizes: &[Size], index: &mut usize, ) -> Result<(), Error>

Source§

impl<T, M> PrintWithSize for Meta<T, M>
where T: PrintWithSize,

Source§

fn fmt_with_size( &self, f: &mut Formatter<'_>, options: &Options, indent: usize, sizes: &[Size], index: &mut usize, ) -> Result<(), Error>

Implementors§