#[non_exhaustive]#[repr(u8)]pub enum StrtabCode {
Blob = 1,
}Expand description
STRTAB block codes
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
Trait Implementations§
Source§impl Clone for StrtabCode
impl Clone for StrtabCode
Source§fn clone(&self) -> StrtabCode
fn clone(&self) -> StrtabCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StrtabCode
impl Debug for StrtabCode
Source§impl TryFrom<u8> for StrtabCode
impl TryFrom<u8> 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
const NAME: &'static str = "StrtabCode"
type Primitive = u8
type Error = TryFromPrimitiveError<StrtabCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy 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