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<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§