#[repr(C)]pub struct Encoding {
pub address_size: u8,
pub format: Format,
pub version: u16,
}
Expand description
Encoding parameters that are commonly used for multiple DWARF sections.
This is intended to be small enough to pass by value.
Fields§
§address_size: u8
The size of an address.
format: Format
Whether the DWARF format is 32- or 64-bit.
version: u16
The DWARF version of the header.
Trait Implementations§
source§impl PartialEq<Encoding> for Encoding
impl PartialEq<Encoding> for Encoding
impl Copy for Encoding
impl Eq for Encoding
impl StructuralEq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin 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