Struct annotate_snippets::snippet::SourceAnnotation
source · pub struct SourceAnnotation<'a> {
pub range: (usize, usize),
pub label: &'a str,
pub annotation_type: AnnotationType,
}
Expand description
An annotation for a Slice
.
Fields§
§range: (usize, usize)
§label: &'a str
§annotation_type: AnnotationType
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SourceAnnotation<'a>
impl<'a> Send for SourceAnnotation<'a>
impl<'a> Sync for SourceAnnotation<'a>
impl<'a> Unpin for SourceAnnotation<'a>
impl<'a> UnwindSafe for SourceAnnotation<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more