#[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: u8The size of an address.
format: FormatWhether the DWARF format is 32- or 64-bit.
version: u16The DWARF version of the header.
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 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