Enum lief::pe::headers::MachineType
pub enum MachineType {
Show 25 variants
AM33,
AMD64,
ARM,
ARMNT,
ARM64,
EBC,
I386,
IA64,
M32R,
MIPS16,
MIPSFPU,
MIPSFPU16,
POWERPC,
POWERPCFP,
R4000,
RISCV32,
RISCV64,
RISCV128,
SH3,
SH3DSP,
SH4,
SH5,
THUMB,
WCEMIPSV2,
UNKNOWN(u32),
}
Variants§
AM33
Matsushita AM33
AMD64
AMD x64
ARM
ARM little endian
ARMNT
ARMv7 Thumb mode only
ARM64
ARMv8 in 64-bits mode
EBC
EFI byte code
I386
Intel 386 or later
IA64
Intel Itanium processor family
M32R
Mitsubishi M32R little endian
MIPS16
MIPS16
MIPSFPU
MIPS with FPU
MIPSFPU16
MIPS16 with FPU
POWERPC
Power PC little endian
POWERPCFP
Power PC with floating point
R4000
MIPS with little endian
RISCV32
RISC-V 32-bit address space
RISCV64
RISC-V 64-bit address space
RISCV128
RISC-V 128-bit address space
SH3
Hitachi SH3
SH3DSP
Hitachi SH3 DSP
SH4
Hitachi SH4
SH5
Hitachi SH5
THUMB
ARM or Thumb
WCEMIPSV2
MIPS little-endian WCE v2
UNKNOWN(u32)
Trait Implementations§
§impl Clone for MachineType
impl Clone for MachineType
§fn clone(&self) -> MachineType
fn clone(&self) -> MachineType
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 more§impl Debug for MachineType
impl Debug for MachineType
§impl From<MachineType> for u32
impl From<MachineType> for u32
§fn from(value: MachineType) -> u32
fn from(value: MachineType) -> u32
Converts to this type from the input type.
§impl From<u32> for MachineType
impl From<u32> for MachineType
§impl Hash for MachineType
impl Hash for MachineType
§impl PartialEq<MachineType> for MachineType
impl PartialEq<MachineType> for MachineType
§fn eq(&self, other: &MachineType) -> bool
fn eq(&self, other: &MachineType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MachineType
impl Eq for MachineType
impl StructuralEq for MachineType
impl StructuralPartialEq for MachineType
Auto Trait Implementations§
impl RefUnwindSafe for MachineType
impl Send for MachineType
impl Sync for MachineType
impl Unpin for MachineType
impl UnwindSafe for MachineType
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