[−][src]Enum annotate_snippets::display_list::DisplayAnnotationType
A type of the Annotation
which may impact the sigils, style or text displayed.
There are several ways to uses this information when formatting the DisplayList
:
- An annotation may display the name of the type like
error
orinfo
. - An underline for
Error
may be^^^
while forWarning
it coule be---
. ColorStylesheet
may use different colors for different annotations.
Variants
Trait Implementations
impl Clone for DisplayAnnotationType
[src]
fn clone(&self) -> DisplayAnnotationType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DisplayAnnotationType
[src]
impl From<AnnotationType> for DisplayAnnotationType
[src]
fn from(at: AnnotationType) -> Self
[src]
impl PartialEq<DisplayAnnotationType> for DisplayAnnotationType
[src]
fn eq(&self, other: &DisplayAnnotationType) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for DisplayAnnotationType
[src]
Auto Trait Implementations
impl RefUnwindSafe for DisplayAnnotationType
impl Send for DisplayAnnotationType
impl Sync for DisplayAnnotationType
impl Unpin for DisplayAnnotationType
impl UnwindSafe for DisplayAnnotationType
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,