IndentedDisplay

Trait IndentedDisplay 

Source
pub trait IndentedDisplay<'a, Opt: IndentedOptions<'a>> {
    // Required method
    fn indent(&self, f: &mut Indenter<'a, Opt>) -> Result;
}

Required Methods§

Source

fn indent(&self, f: &mut Indenter<'a, Opt>) -> Result

Display for humans with indent

Implementations on Foreign Types§

Source§

impl<'a, Opt: IndentedOptions<'a>, T: IndentedDisplay<'a, Opt>> IndentedDisplay<'a, Opt> for [T]

Source§

fn indent(&self, f: &mut Indenter<'a, Opt>) -> Result

Display for humans with indent

Implementors§