#[non_exhaustive]pub enum DeclaredKind {
Target,
Rule,
Alias,
}Expand description
What a label was declared as.
Variants (Non-exhaustive)§
This enum is marked as 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.
Trait Implementations§
Source§impl Clone for DeclaredKind
impl Clone for DeclaredKind
impl Copy for DeclaredKind
Source§impl Debug for DeclaredKind
impl Debug for DeclaredKind
Source§impl Display for DeclaredKind
impl Display for DeclaredKind
impl Eq for DeclaredKind
Source§impl PartialEq for DeclaredKind
impl PartialEq for DeclaredKind
impl StructuralPartialEq for DeclaredKind
Auto Trait Implementations§
impl Forget for DeclaredKind
impl Freeze for DeclaredKind
impl RefUnwindSafe for DeclaredKind
impl Send for DeclaredKind
impl Sync for DeclaredKind
impl Unpin for DeclaredKind
impl UnsafeUnpin for DeclaredKind
impl UnwindSafe for DeclaredKind
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