Struct annotate_snippets::snippet::Annotation [] [src]

pub struct Annotation {
    pub range: Option<(usize, usize)>,
    pub label: Option<String>,
    pub annotation_type: AnnotationType,
}

An Annotation is a pointer to a place in the Slice which is to be annotated.

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

Auto Trait Implementations

impl Send for Annotation

impl Sync for Annotation