#[non_exhaustive]#[repr(u8)]pub enum ValueSymtabCode {
Entry = 1,
BbEntry = 2,
FnEntry = 3,
CombinedEntry = 5,
}Expand description
Value symbol table 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.
Entry = 1
VST_ENTRY
[valueid, namechar x N]
BbEntry = 2
VST_BBENTRY
[bbid, namechar x N]
FnEntry = 3
VST_FNENTRY
Unused when strtab is present
[valueid, offset, namechar x N]
CombinedEntry = 5
Obsolete.
VST_COMBINED_ENTRY
[valueid, refguid]
Trait Implementations§
Source§impl Clone for ValueSymtabCode
impl Clone for ValueSymtabCode
Source§fn clone(&self) -> ValueSymtabCode
fn clone(&self) -> ValueSymtabCode
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 ValueSymtabCode
impl Debug for ValueSymtabCode
Source§impl TryFrom<u8> for ValueSymtabCode
impl TryFrom<u8> for ValueSymtabCode
Source§type Error = TryFromPrimitiveError<ValueSymtabCode>
type Error = TryFromPrimitiveError<ValueSymtabCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ValueSymtabCode
impl TryFromPrimitive for ValueSymtabCode
const NAME: &'static str = "ValueSymtabCode"
type Primitive = u8
type Error = TryFromPrimitiveError<ValueSymtabCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ValueSymtabCode
Auto Trait Implementations§
impl Freeze for ValueSymtabCode
impl RefUnwindSafe for ValueSymtabCode
impl Send for ValueSymtabCode
impl Sync for ValueSymtabCode
impl Unpin for ValueSymtabCode
impl UnwindSafe for ValueSymtabCode
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