[][src]Enum annotate_snippets::formatter::style::StyleClass

pub enum StyleClass {
    Error,
    Warning,
    Info,
    Note,
    Help,
    LineNo,
    Emphasis,
    None,
}

StyleClass is a collection of named variants of style classes that DisplayListFormatter uses.

Variants

Error

Message indicating an error.

Warning

Message indicating a warning.

Info

Message indicating an information.

Note

Message indicating a note.

Help

Message indicating a help.

LineNo

Style for line numbers.

Emphasis

Parts of the text that are to be emphasised.

None

Parts of the text that are regular. Usually a no-op.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]