Struct annotate_snippets::display_list::DisplayList [−][src]
pub struct DisplayList<'a> {
pub body: Vec<DisplayLine<'a>>,
pub stylesheet: Box<dyn Stylesheet>,
pub anonymized_line_numbers: bool,
pub margin: Option<Margin>,
}Expand description
List of lines to be displayed.
Fields
body: Vec<DisplayLine<'a>>stylesheet: Box<dyn Stylesheet>anonymized_line_numbers: boolmargin: Option<Margin>Trait Implementations
Performs the conversion.
Performs the conversion.