Enum object::Architecture [−][src]
pub enum Architecture { Unknown, Aarch64, Arm, I386, Mips, S390x, Wasm32, X86_64, }
A CPU architecture.
Variants
Implementations
impl Architecture
[src]
impl Architecture
[src]pub fn address_size(self) -> Option<AddressSize>
[src]
The size of an address value for this architecture.
Returns None
for unknown architectures.
Trait Implementations
impl Clone for Architecture
[src]
impl Clone for Architecture
[src]fn clone(&self) -> Architecture
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for Architecture
[src]
impl Hash for Architecture
[src]impl PartialEq<Architecture> for Architecture
[src]
impl PartialEq<Architecture> for Architecture
[src]fn eq(&self, other: &Architecture) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl Copy for Architecture
[src]
impl Eq for Architecture
[src]
impl StructuralEq for Architecture
[src]
impl StructuralPartialEq for Architecture
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.