[−][src]Enum annotate_snippets::display_list::DisplaySourceLine
A source line.
Variants
A line with the content of the Slice.
An annotation line which is displayed in context of the slice.
Fields of Annotation
annotation: Annotation<'a>
range: (usize, usize)
annotation_type: DisplayAnnotationType
annotation_part: DisplayAnnotationPart
An empty source line.
Trait Implementations
impl<'a> Debug for DisplaySourceLine<'a>
[src]
impl<'a> PartialEq<DisplaySourceLine<'a>> for DisplaySourceLine<'a>
[src]
fn eq(&self, other: &DisplaySourceLine<'a>) -> bool
[src]
fn ne(&self, other: &DisplaySourceLine<'a>) -> bool
[src]
impl<'a> StructuralPartialEq for DisplaySourceLine<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for DisplaySourceLine<'a>
impl<'a> Send for DisplaySourceLine<'a>
impl<'a> Sync for DisplaySourceLine<'a>
impl<'a> Unpin for DisplaySourceLine<'a>
impl<'a> UnwindSafe for DisplaySourceLine<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,