Enum annotate_snippets::snippet::AnnotationType
[−]
[src]
pub enum AnnotationType {
Error,
Warning,
Info,
Note,
Help,
}Types of annotations.
Variants
ErrorError annotations are displayed using red color and "^" character.
WarningWarning annotations are displayed using blue color and "-" character.
InfoNoteHelp
Trait Implementations
impl From<AnnotationType> for DisplayAnnotationType[src]
fn from(at: AnnotationType) -> Self[src]
Performs the conversion.
impl Debug for AnnotationType[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for AnnotationType[src]
fn clone(&self) -> AnnotationType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more