pub enum ElfClass {
Elf32,
Elf64,
}Expand description
Whether the on-disk image used 32-bit or 64-bit headers. Recorded at parse time and consulted on write to round-trip the original byte layout exactly.
Variants§
Trait Implementations§
impl Copy for ElfClass
impl Eq for ElfClass
impl StructuralPartialEq for ElfClass
Auto Trait Implementations§
impl Freeze for ElfClass
impl RefUnwindSafe for ElfClass
impl Send for ElfClass
impl Sync for ElfClass
impl Unpin for ElfClass
impl UnsafeUnpin for ElfClass
impl UnwindSafe for ElfClass
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