Struct annotate_snippets::display_list::Annotation [] [src]

pub struct Annotation {
    pub annotation_type: DisplayAnnotationType,
    pub id: Option<String>,
    pub label: Vec<DisplayTextFragment>,
}

Inline annotation which can be used in either Raw or Source line.

Fields

Trait Implementations

impl Debug for Annotation
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Annotation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

impl Sync for Annotation