pub enum MachineType {
Amd64,
I386,
Aarch64,
}Expand description
Machine architecture identified from a dump header.
Variants§
Amd64
x86_64 / AMD64 (machine image type 0x8664).
I386
x86 / i386 (machine image type 0x014C).
Aarch64
AArch64 / ARM64 (machine image type 0xAA64).
Trait Implementations§
Source§impl Clone for MachineType
impl Clone for MachineType
Source§fn clone(&self) -> MachineType
fn clone(&self) -> MachineType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MachineType
Source§impl Debug for MachineType
impl Debug for MachineType
impl Eq for MachineType
Source§impl PartialEq for MachineType
impl PartialEq for MachineType
Source§fn eq(&self, other: &MachineType) -> bool
fn eq(&self, other: &MachineType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MachineType
Auto Trait Implementations§
impl Freeze for MachineType
impl RefUnwindSafe for MachineType
impl Send for MachineType
impl Sync for MachineType
impl Unpin for MachineType
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.