#[non_exhaustive]#[repr(u64)]pub enum AttributeCode {
EntryOld = 1,
Entry = 2,
GroupCodeEntry = 3,
}
Expand description
Codes for each record in PARAMATTR_BLOCK
or PARAMATTR_GROUP_BLOCK
.
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.
EntryOld = 1
PARAMATTR_CODE_ENTRY_OLD: [paramidx0, attr0, paramidx1, attr1...]
Entry = 2
PARAMATTR_CODE_ENTRY: [attrgrp0, attrgrp1, ...]
GroupCodeEntry = 3
PARAMATTR_GRP_CODE_ENTRY: [grpid, idx, attr0, attr1, ...]
Trait Implementations§
Source§impl Debug for AttributeCode
impl Debug for AttributeCode
Source§impl PartialEq for AttributeCode
impl PartialEq for AttributeCode
Source§impl TryFrom<u64> for AttributeCode
impl TryFrom<u64> for AttributeCode
Source§type Error = TryFromPrimitiveError<AttributeCode>
type Error = TryFromPrimitiveError<AttributeCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AttributeCode
impl TryFromPrimitive for AttributeCode
impl StructuralPartialEq for AttributeCode
Auto Trait Implementations§
impl Freeze for AttributeCode
impl RefUnwindSafe for AttributeCode
impl Send for AttributeCode
impl Sync for AttributeCode
impl Unpin for AttributeCode
impl UnwindSafe for AttributeCode
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