pub enum Architecture {
Show 13 variants
X86,
X86_64,
Arm,
Arm64,
Mips,
Mips64,
PowerPC,
PowerPC64,
RiscV,
RiscV64,
Wasm,
Jvm,
Unknown,
}Expand description
Supported architectures
Variants§
X86
x86 32-bit
X86_64
x86 64-bit
Arm
ARM 32-bit
Arm64
ARM 64-bit
Mips
MIPS
Mips64
MIPS 64-bit
PowerPC
PowerPC
PowerPC64
PowerPC 64-bit
RiscV
RISC-V
RiscV64
RISC-V 64-bit
Wasm
WebAssembly
Jvm
Java Virtual Machine
Unknown
Unknown architecture
Trait Implementations§
Source§impl Clone for Architecture
impl Clone for Architecture
Source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a duplicate 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 Architecture
impl Debug for Architecture
Source§impl Default for Architecture
impl Default for Architecture
Source§fn default() -> Architecture
fn default() -> Architecture
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Architecture
impl<'de> Deserialize<'de> for Architecture
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Architecture
impl Display for Architecture
Source§impl Hash for Architecture
impl Hash for Architecture
Source§impl PartialEq for Architecture
impl PartialEq for Architecture
Source§impl Serialize for Architecture
impl Serialize for Architecture
impl Copy for Architecture
impl Eq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations§
impl Freeze for Architecture
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.