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;
}

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

impl<'c, T: PrintWithSizeAndContext<C>, C> PrintWithSize for Contextual<T, &'c C>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§