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
range: Option<(usize, usize)>
label: Option<String>
annotation_type: AnnotationType
Trait Implementations
impl Debug for Annotation[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for Annotation[src]
fn clone(&self) -> Annotation[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more