[−][src]Enum annotate_snippets::formatter::style::StyleClass
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
impl Sync for StyleClass
impl Unpin for StyleClass
impl Send for StyleClass
impl UnwindSafe for StyleClass
impl RefUnwindSafe for StyleClass
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,