Struct annotate_snippets::snippet::SourceAnnotation
source · pub struct SourceAnnotation {
pub range: (usize, usize),
pub label: String,
pub annotation_type: AnnotationType,
}
Expand description
An annotation for a Slice
.
Fields§
§range: (usize, usize)
§label: String
§annotation_type: AnnotationType
Trait Implementations§
source§impl Clone for SourceAnnotation
impl Clone for SourceAnnotation
source§fn clone(&self) -> SourceAnnotation
fn clone(&self) -> SourceAnnotation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more