Enum codespan_reporting::LabelStyle [−][src]
pub enum LabelStyle {
Primary,
Secondary,
}A style for the label
Variants
PrimaryThe main focus of the diagnostic
SecondarySupporting labels that may help to isolate the cause of the diagnostic
Trait Implementations
impl Copy for LabelStyle[src]
impl Copy for LabelStyleimpl Clone for LabelStyle[src]
impl Clone for LabelStylefn clone(&self) -> LabelStyle[src]
fn clone(&self) -> LabelStyleReturns 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 PartialEq for LabelStyle[src]
impl PartialEq for LabelStylefn eq(&self, other: &LabelStyle) -> bool[src]
fn eq(&self, other: &LabelStyle) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for LabelStyle[src]
impl Debug for LabelStyleAuto Trait Implementations
impl Send for LabelStyle
impl Send for LabelStyleimpl Sync for LabelStyle
impl Sync for LabelStyle