Struct annotate_snippets::snippet::SourceAnnotation [] [src]

pub struct SourceAnnotation {
    pub range: (usize, usize),
    pub label: String,
    pub annotation_type: AnnotationType,
}

An annotation for a Slice.

Fields

Trait Implementations

impl Debug for SourceAnnotation
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for SourceAnnotation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations