pub enum PlatformArchitecture {
None,
X86,
ARM,
}Expand description
Platform architecture.
Variants§
None
No platform selected.
Never used by the API.
X86
x86-based platform (AMD64 / x86).
Valid CPUArchitecture choices: CPUArchitecture::AMD64, CPUArchitecture::X86
ARM
ARM-based platform (AArch32, AArch64).
Valid CPUArchitecture choices: CPUArchitecture::ARMv8_32, CPUArchitecture::ARMv8_64
Trait Implementations§
Source§impl Debug for PlatformArchitecture
impl Debug for PlatformArchitecture
Source§impl Display for PlatformArchitecture
impl Display for PlatformArchitecture
Source§impl From<u32> for PlatformArchitecture
Available on is_v_7_1_or_newer only.
impl From<u32> for PlatformArchitecture
Available on
is_v_7_1_or_newer only.Auto Trait Implementations§
impl Freeze for PlatformArchitecture
impl RefUnwindSafe for PlatformArchitecture
impl Send for PlatformArchitecture
impl Sync for PlatformArchitecture
impl Unpin for PlatformArchitecture
impl UnsafeUnpin for PlatformArchitecture
impl UnwindSafe for PlatformArchitecture
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