Enum annotate_snippets::display_list::DisplaySourceLine [] [src]

pub enum DisplaySourceLine {
    Content {
        text: String,
        range: (usize, usize),
    },
    Annotation {
        annotation: Annotation,
        range: (usize, usize),
        annotation_type: DisplayAnnotationType,
        annotation_part: DisplayAnnotationPart,
    },
    Empty,
}

Variants

Fields of Content

Fields of Annotation

Trait Implementations

impl Debug for DisplaySourceLine
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DisplaySourceLine
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DisplaySourceLine
[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