Enum platform_lp::Architecture
source · pub enum Architecture {
X64,
X32,
}
Expand description
Architecture Partial, designed for ‘fuzzy’ comparisons.
use platform_lp::{ Platform, Architecture};
let the_platform = Platform::get_user_platform();
assert!(the_platform == Architecture::X64);
Variants
X64
X32
Trait Implementations
sourceimpl Debug for Architecture
impl Debug for Architecture
sourceimpl Hash for Architecture
impl Hash for Architecture
sourceimpl PartialEq<Architecture> for Architecture
impl PartialEq<Architecture> for Architecture
sourcefn eq(&self, other: &Architecture) -> bool
fn eq(&self, other: &Architecture) -> bool
sourceimpl PartialEq<Architecture> for Platform
impl PartialEq<Architecture> for Platform
sourcefn eq(&self, other: &Architecture) -> bool
fn eq(&self, other: &Architecture) -> bool
impl Eq for Architecture
impl StructuralEq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more