[−][src]Struct annotate_snippets::snippet::Snippet
Primary structure provided for formatting
Fields
title: Option<Annotation<'a>>
slices: Vec<Slice<'a>>
opt: FormatOptions
Trait Implementations
impl<'a> Debug for Snippet<'a>
[src]
impl<'a> Default for Snippet<'a>
[src]
impl<'a> From<Snippet<'a>> for DisplayList<'a>
[src]
fn from(
snippet::Snippet { title: title, footer: footer, slices: slices, opt: opt }: Snippet<'a>
) -> DisplayList<'a>
[src]
snippet::Snippet { title: title, footer: footer, slices: slices, opt: opt }: Snippet<'a>
) -> DisplayList<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Snippet<'a>
impl<'a> Send for Snippet<'a>
impl<'a> Sync for Snippet<'a>
impl<'a> Unpin for Snippet<'a>
impl<'a> UnwindSafe for Snippet<'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>,