pub enum LabelKind {
Local(&'static str),
Global(&'static str),
Dynamic(DynamicLabel),
}
Expand description
A description of a label. Used for error reporting.
Variants
Local(&'static str)
A local label, like label:
Global(&'static str)
A global label, like ->label:
Dynamic(DynamicLabel)
A dynamic label, like =>value:
Trait Implementations
impl Copy for LabelKind
impl Eq for LabelKind
impl StructuralEq for LabelKind
impl StructuralPartialEq for LabelKind
Auto Trait Implementations
impl RefUnwindSafe for LabelKind
impl Send for LabelKind
impl Sync for LabelKind
impl Unpin for LabelKind
impl UnwindSafe for LabelKind
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