pub enum AttributeDeclKind {
Simple,
Macro,
Builtin,
}Expand description
Attribute declaration kind
Variants§
Simple
Simple attribute
Macro
Attribute with macro expansion
Builtin
Attribute with builtin implementation
Trait Implementations§
Source§impl Clone for AttributeDeclKind
impl Clone for AttributeDeclKind
Source§fn clone(&self) -> AttributeDeclKind
fn clone(&self) -> AttributeDeclKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeDeclKind
impl Debug for AttributeDeclKind
Source§impl PartialEq for AttributeDeclKind
impl PartialEq for AttributeDeclKind
impl Eq for AttributeDeclKind
impl StructuralPartialEq for AttributeDeclKind
Auto Trait Implementations§
impl Freeze for AttributeDeclKind
impl RefUnwindSafe for AttributeDeclKind
impl Send for AttributeDeclKind
impl Sync for AttributeDeclKind
impl Unpin for AttributeDeclKind
impl UnsafeUnpin for AttributeDeclKind
impl UnwindSafe for AttributeDeclKind
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