Item

Trait Item 

Source
pub trait Item {
    // Required methods
    fn build(&self, doc: &Document) -> Result<(), Error>;
    fn update_indent(&mut self, super_indent: &usize);
}
Expand description

A component that can be added to a Document or a Container

Required Methods§

Source

fn build(&self, doc: &Document) -> Result<(), Error>

Source

fn update_indent(&mut self, super_indent: &usize)

Implementors§