Enum elf_rs::ElfMachine
source · pub enum ElfMachine {
Show 13 variants
Unknown,
SPARC,
x86,
MIPS,
PowerPC,
S390,
ARM,
SuperH,
IA_64,
x86_64,
AArch64,
RISC_V,
MachineUnknown(u16),
}
Variants§
Trait Implementations§
source§impl Clone for ElfMachine
impl Clone for ElfMachine
source§fn clone(&self) -> ElfMachine
fn clone(&self) -> ElfMachine
Returns a copy 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 ElfMachine
impl Debug for ElfMachine
source§impl From<u16> for ElfMachine
impl From<u16> for ElfMachine
source§impl PartialEq for ElfMachine
impl PartialEq for ElfMachine
source§fn eq(&self, other: &ElfMachine) -> bool
fn eq(&self, other: &ElfMachine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ElfMachine
impl Eq for ElfMachine
impl StructuralEq for ElfMachine
impl StructuralPartialEq for ElfMachine
Auto Trait Implementations§
impl RefUnwindSafe for ElfMachine
impl Send for ElfMachine
impl Sync for ElfMachine
impl Unpin for ElfMachine
impl UnwindSafe for ElfMachine
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