#[non_exhaustive]#[repr(u8)]pub enum DwarfEncoding {
Show 19 variants
None = 0,
Address = 1,
Boolean = 2,
ComplexFloat = 3,
Float = 4,
Signed = 5,
SignedChar = 6,
Unsigned = 7,
UnsignedChar = 8,
ImaginaryFloat = 9,
PackedDecimal = 10,
NumericString = 11,
Edited = 12,
SignedFixed = 13,
UnsignedFixed = 14,
DecimalFloat = 15,
UTF = 16,
UCS = 17,
ASCII = 18,
}Expand description
DWARF type encoding values (DW_ATE_*)
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.
None = 0
Address = 1
Boolean = 2
ComplexFloat = 3
Float = 4
Signed = 5
SignedChar = 6
Unsigned = 7
UnsignedChar = 8
ImaginaryFloat = 9
PackedDecimal = 10
NumericString = 11
Edited = 12
SignedFixed = 13
UnsignedFixed = 14
DecimalFloat = 15
UTF = 16
UCS = 17
ASCII = 18
Trait Implementations§
Source§impl Clone for DwarfEncoding
impl Clone for DwarfEncoding
Source§fn clone(&self) -> DwarfEncoding
fn clone(&self) -> DwarfEncoding
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 DwarfEncoding
impl Debug for DwarfEncoding
Source§impl Default for DwarfEncoding
impl Default for DwarfEncoding
Source§fn default() -> DwarfEncoding
fn default() -> DwarfEncoding
Returns the “default value” for a type. Read more
Source§impl PartialEq for DwarfEncoding
impl PartialEq for DwarfEncoding
Source§impl TryFrom<u8> for DwarfEncoding
impl TryFrom<u8> for DwarfEncoding
Source§type Error = TryFromPrimitiveError<DwarfEncoding>
type Error = TryFromPrimitiveError<DwarfEncoding>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DwarfEncoding
impl TryFromPrimitive for DwarfEncoding
const NAME: &'static str = "DwarfEncoding"
type Primitive = u8
type Error = TryFromPrimitiveError<DwarfEncoding>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for DwarfEncoding
impl Eq for DwarfEncoding
impl StructuralPartialEq for DwarfEncoding
Auto Trait Implementations§
impl Freeze for DwarfEncoding
impl RefUnwindSafe for DwarfEncoding
impl Send for DwarfEncoding
impl Sync for DwarfEncoding
impl Unpin for DwarfEncoding
impl UnsafeUnpin for DwarfEncoding
impl UnwindSafe for DwarfEncoding
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