#[repr(u64)]pub enum AttributeKind {
Enum = 0,
IntKeyValue = 1,
StrKey = 3,
StrKeyValue = 4,
}
Expand description
Represents the different kinds of attributes.
Variants§
Enum = 0
A well-known enum attribute.
IntKeyValue = 1
A well-known integral attribute with an integer value.
StrKey = 3
A string attribute.
StrKeyValue = 4
A string attribute with a string value.
Trait Implementations§
Source§impl Debug for AttributeKind
impl Debug for AttributeKind
Source§impl PartialEq for AttributeKind
impl PartialEq for AttributeKind
Source§impl TryFrom<u64> for AttributeKind
impl TryFrom<u64> for AttributeKind
Source§type Error = TryFromPrimitiveError<AttributeKind>
type Error = TryFromPrimitiveError<AttributeKind>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AttributeKind
impl TryFromPrimitive for AttributeKind
impl StructuralPartialEq for AttributeKind
Auto Trait Implementations§
impl Freeze for AttributeKind
impl RefUnwindSafe for AttributeKind
impl Send for AttributeKind
impl Sync for AttributeKind
impl Unpin for AttributeKind
impl UnwindSafe for AttributeKind
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