Enum annotate_snippets::snippet::AnnotationType
source · pub enum AnnotationType {
Error,
Warning,
Info,
Note,
Help,
}
Expand description
Types of annotations.
Variants§
Error
Error annotations are displayed using red color and “^” character.
Warning
Warning annotations are displayed using blue color and “-” character.
Info
Note
Help
Trait Implementations§
source§impl Clone for AnnotationType
impl Clone for AnnotationType
source§fn clone(&self) -> AnnotationType
fn clone(&self) -> AnnotationType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnnotationType
impl Debug for AnnotationType
source§impl From<AnnotationType> for DisplayAnnotationType
impl From<AnnotationType> for DisplayAnnotationType
source§fn from(at: AnnotationType) -> Self
fn from(at: AnnotationType) -> Self
Converts to this type from the input type.