#[non_exhaustive]#[repr(u8)]pub enum ModulePathSymtabCode {
Entry = 1,
Hash = 2,
}Expand description
The module path symbol table only has one code (MST_CODE_ENTRY).
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.
Trait Implementations§
Source§impl Clone for ModulePathSymtabCode
impl Clone for ModulePathSymtabCode
Source§fn clone(&self) -> ModulePathSymtabCode
fn clone(&self) -> ModulePathSymtabCode
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 ModulePathSymtabCode
impl Debug for ModulePathSymtabCode
Source§impl TryFrom<u8> for ModulePathSymtabCode
impl TryFrom<u8> for ModulePathSymtabCode
Source§type Error = TryFromPrimitiveError<ModulePathSymtabCode>
type Error = TryFromPrimitiveError<ModulePathSymtabCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ModulePathSymtabCode
impl TryFromPrimitive for ModulePathSymtabCode
const NAME: &'static str = "ModulePathSymtabCode"
type Primitive = u8
type Error = TryFromPrimitiveError<ModulePathSymtabCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ModulePathSymtabCode
Auto Trait Implementations§
impl Freeze for ModulePathSymtabCode
impl RefUnwindSafe for ModulePathSymtabCode
impl Send for ModulePathSymtabCode
impl Sync for ModulePathSymtabCode
impl Unpin for ModulePathSymtabCode
impl UnwindSafe for ModulePathSymtabCode
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