Enum annotate_snippets::display_list::DisplayLine [] [src]

pub enum DisplayLine {
    Raw(String),
    EmptySource,
    Source {
        lineno: usize,
        inline_marks: Vec<DisplayMark>,
        content: String,
    },
    Annotation {
        inline_marks: Vec<DisplayMark>,
        range: (usize, usize),
        label: String,
        annotation_type: DisplayAnnotationType,
    },
    Fold,
}

Variants

Fields of Source

Fields of Annotation

Trait Implementations

impl Debug for DisplayLine
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DisplayLine
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DisplayLine
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for DisplayLine

impl Sync for DisplayLine