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
range: (usize, usize)
label: String
annotation_type: AnnotationType
Trait Implementations
impl Debug for SourceAnnotation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SourceAnnotation
[src]
fn clone(&self) -> SourceAnnotation
[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