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§
source§impl PartialEq for LabelKind
impl PartialEq for LabelKind
impl Copy for LabelKind
impl Eq for LabelKind
impl StructuralPartialEq for LabelKind
Auto Trait Implementations§
impl Freeze for LabelKind
impl RefUnwindSafe for LabelKind
impl Send for LabelKind
impl Sync for LabelKind
impl Unpin for LabelKind
impl UnwindSafe for LabelKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)