pub enum Encoding {
Boolean,
Signed,
Unsigned,
SignedChar,
UnsignedChar,
Float,
Complex,
}Expand description
How the bits of a base type are read, which is DWARF’s DW_AT_encoding.
The set C needs and no more. An enumeration rather than the DW_ATE_ constants themselves so
that whoever builds a table does not have to depend on gimli to name one.
Variants§
Boolean
bool, whose one byte holds zero or one.
Signed
A signed integer in two’s complement.
Unsigned
An unsigned integer.
SignedChar
char where it is signed, which DWARF keeps apart from a signed integer because a debugger
prints one as a character and the other as a number.
UnsignedChar
char where it is unsigned, and unsigned char.
Float
One of the real floating types.
Complex
_Complex T, whose bytes are the real half and then the imaginary one.
Trait Implementations§
impl Copy for Encoding
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin for Encoding
impl UnwindSafe for Encoding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.