Enum annotate_snippets::formatter::style::StyleClass
source · pub enum StyleClass {
Error,
Warning,
Info,
Note,
Help,
LineNo,
Emphasis,
None,
}
Expand description
StyleClass is a collection of named variants of style classes
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 RefUnwindSafe for StyleClass
impl Send for StyleClass
impl Sync for StyleClass
impl Unpin for StyleClass
impl UnwindSafe for StyleClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more