[−][src]Enum proc_macro::Level
#[non_exhaustive]pub enum Level { Error, Warning, Note, Help, }
An enum representing a diagnostic level.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ErrorAn error.
WarningA warning.
NoteA note.
HelpA help message.
Trait Implementations
impl Copy for Level[src]
impl Copy for Levelimpl Clone for Level[src]
impl Clone for Levelfn clone(&self) -> Level[src]
fn clone(&self) -> LevelReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Level[src]
impl Debug for Level