pub enum AttributeKeyword {
derive,
doc,
error,
}Expand description
Keywords used in attributes: (#[
Variants§
derive
Derive a trait (only Error for now)
doc
Document the attached item
error
Add an error message
Trait Implementations§
Source§impl Clone for AttributeKeyword
impl Clone for AttributeKeyword
impl Copy for AttributeKeyword
Source§impl Debug for AttributeKeyword
impl Debug for AttributeKeyword
Source§impl Display for AttributeKeyword
impl Display for AttributeKeyword
impl Eq for AttributeKeyword
Source§impl Ord for AttributeKeyword
impl Ord for AttributeKeyword
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AttributeKeyword
impl PartialEq for AttributeKeyword
Source§impl PartialOrd for AttributeKeyword
impl PartialOrd for AttributeKeyword
impl StructuralPartialEq for AttributeKeyword
Auto Trait Implementations§
impl Freeze for AttributeKeyword
impl RefUnwindSafe for AttributeKeyword
impl Send for AttributeKeyword
impl Sync for AttributeKeyword
impl Unpin for AttributeKeyword
impl UnsafeUnpin for AttributeKeyword
impl UnwindSafe for AttributeKeyword
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