Enum language_reporting::LabelStyle
source · pub enum LabelStyle {
Primary,
Secondary,
}Expand description
A style for the label
Variants
Primary
The main focus of the diagnostic
Secondary
Supporting labels that may help to isolate the cause of the diagnostic
Trait Implementations
sourceimpl Clone for LabelStyle
impl Clone for LabelStyle
sourcefn clone(&self) -> LabelStyle
fn clone(&self) -> LabelStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for LabelStyle
impl Debug for LabelStyle
sourceimpl PartialEq<LabelStyle> for LabelStyle
impl PartialEq<LabelStyle> for LabelStyle
sourcefn eq(&self, other: &LabelStyle) -> bool
fn eq(&self, other: &LabelStyle) -> bool
impl Copy for LabelStyle
impl StructuralPartialEq for LabelStyle
Auto Trait Implementations
impl RefUnwindSafe for LabelStyle
impl Send for LabelStyle
impl Sync for LabelStyle
impl Unpin for LabelStyle
impl UnwindSafe for LabelStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more