#[repr(transparent)]pub struct ProcessorArch(pub u32);
Expand description
The instruction set architecture of the running processor.
UEFI can be and has been ported to new CPU architectures in the past, therefore modeling this C enum as a Rust enum (where the compiler must know about every variant in existence) would not be safe.
Tuple Fields
0: u32
Implementations
32-bit x86 PC
64-bit x86 PC
Intel Itanium
UEFI Interpreter bytecode
ARM Thumb / Mixed
ARM 64-bit
RISC-V 32-bit
RISC-V 64-bit
RISC-V 128-bit
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProcessorArch
impl Send for ProcessorArch
impl Sync for ProcessorArch
impl Unpin for ProcessorArch
impl UnwindSafe for ProcessorArch
Blanket Implementations
Mutably borrows from an owned value. Read more