#[non_exhaustive]#[repr(u64)]pub enum StrtabCode {
Blob = 1,
}
Expand description
Codes for each record in STRTAB_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.
Blob = 1
STRTAB_BLOB: [...string...]
Trait Implementations§
Source§impl Debug for StrtabCode
impl Debug for StrtabCode
Source§impl From<StrtabCode> for u64
impl From<StrtabCode> for u64
Source§fn from(enum_value: StrtabCode) -> Self
fn from(enum_value: StrtabCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StrtabCode
impl PartialEq for StrtabCode
Source§impl TryFrom<u64> for StrtabCode
impl TryFrom<u64> for StrtabCode
Source§type Error = TryFromPrimitiveError<StrtabCode>
type Error = TryFromPrimitiveError<StrtabCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for StrtabCode
impl TryFromPrimitive for StrtabCode
impl StructuralPartialEq for StrtabCode
Auto Trait Implementations§
impl Freeze for StrtabCode
impl RefUnwindSafe for StrtabCode
impl Send for StrtabCode
impl Sync for StrtabCode
impl Unpin for StrtabCode
impl UnwindSafe for StrtabCode
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