pub enum AttributeUseKind {
Optional,
Required,
Prohibited,
}Expand description
Attribute use kind
Variants§
Trait Implementations§
Source§impl Clone for AttributeUseKind
impl Clone for AttributeUseKind
Source§fn clone(&self) -> AttributeUseKind
fn clone(&self) -> AttributeUseKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttributeUseKind
Source§impl Debug for AttributeUseKind
impl Debug for AttributeUseKind
Source§impl Default for AttributeUseKind
impl Default for AttributeUseKind
Source§fn default() -> AttributeUseKind
fn default() -> AttributeUseKind
Returns the “default value” for a type. Read more
impl Eq for AttributeUseKind
Source§impl PartialEq for AttributeUseKind
impl PartialEq for AttributeUseKind
Source§fn eq(&self, other: &AttributeUseKind) -> bool
fn eq(&self, other: &AttributeUseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributeUseKind
Auto Trait Implementations§
impl Freeze for AttributeUseKind
impl RefUnwindSafe for AttributeUseKind
impl Send for AttributeUseKind
impl Sync for AttributeUseKind
impl Unpin for AttributeUseKind
impl UnsafeUnpin for AttributeUseKind
impl UnwindSafe for AttributeUseKind
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