rustdoc::html::format

Trait Print

Source
pub(crate) trait Print {
    // Required method
    fn print(self, buffer: &mut Buffer);
}

Required Methods§

Source

fn print(self, buffer: &mut Buffer)

Implementations on Foreign Types§

Source§

impl Print for &str

Source§

fn print(self, buffer: &mut Buffer)

Source§

impl Print for String

Source§

fn print(self, buffer: &mut Buffer)

Implementors§

Source§

impl<F> Print for F
where F: FnOnce(&mut Buffer),