#[non_exhaustive]#[repr(u32)]pub enum x86_hardware_subarch {
X86_SUBARCH_PC = 0,
X86_SUBARCH_LGUEST = 1,
X86_SUBARCH_XEN = 2,
X86_SUBARCH_INTEL_MID = 3,
X86_SUBARCH_CE4100 = 4,
X86_NR_SUBARCHS = 5,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
X86_SUBARCH_PC = 0
X86_SUBARCH_LGUEST = 1
X86_SUBARCH_XEN = 2
X86_SUBARCH_INTEL_MID = 3
X86_SUBARCH_CE4100 = 4
X86_NR_SUBARCHS = 5
Trait Implementations§
source§impl Clone for x86_hardware_subarch
impl Clone for x86_hardware_subarch
source§fn clone(&self) -> x86_hardware_subarch
fn clone(&self) -> x86_hardware_subarch
Returns a copy 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 x86_hardware_subarch
impl Debug for x86_hardware_subarch
source§impl Hash for x86_hardware_subarch
impl Hash for x86_hardware_subarch
source§impl PartialEq for x86_hardware_subarch
impl PartialEq for x86_hardware_subarch
source§fn eq(&self, other: &x86_hardware_subarch) -> bool
fn eq(&self, other: &x86_hardware_subarch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for x86_hardware_subarch
impl Eq for x86_hardware_subarch
impl StructuralPartialEq for x86_hardware_subarch
Auto Trait Implementations§
impl Freeze for x86_hardware_subarch
impl RefUnwindSafe for x86_hardware_subarch
impl Send for x86_hardware_subarch
impl Sync for x86_hardware_subarch
impl Unpin for x86_hardware_subarch
impl UnwindSafe for x86_hardware_subarch
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