Struct uefi::proto::debug::ProcessorArch [−][src]
#[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.
Implementations
impl ProcessorArch
[src]
impl ProcessorArch
[src]pub const X86_32: ProcessorArch
[src]
pub const X86_32: ProcessorArch
[src]32-bit x86 PC
pub const X86_64: ProcessorArch
[src]
pub const X86_64: ProcessorArch
[src]64-bit x86 PC
pub const ITANIUM: ProcessorArch
[src]
pub const ITANIUM: ProcessorArch
[src]Intel Itanium
pub const EBC: ProcessorArch
[src]
pub const EBC: ProcessorArch
[src]UEFI Interpreter bytecode
pub const ARM: ProcessorArch
[src]
pub const ARM: ProcessorArch
[src]ARM Thumb / Mixed
pub const AARCH_64: ProcessorArch
[src]
pub const AARCH_64: ProcessorArch
[src]ARM 64-bit
pub const RISCV_32: ProcessorArch
[src]
pub const RISCV_32: ProcessorArch
[src]RISC-V 32-bit
pub const RISCV_64: ProcessorArch
[src]
pub const RISCV_64: ProcessorArch
[src]RISC-V 64-bit
pub const RISCV_128: ProcessorArch
[src]
pub const RISCV_128: ProcessorArch
[src]RISC-V 128-bit
Trait Implementations
impl Clone for ProcessorArch
[src]
impl Clone for ProcessorArch
[src]fn clone(&self) -> ProcessorArch
[src]
fn clone(&self) -> ProcessorArch
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ProcessorArch
[src]
impl Debug for ProcessorArch
[src]impl PartialEq<ProcessorArch> for ProcessorArch
[src]
impl PartialEq<ProcessorArch> for ProcessorArch
[src]fn eq(&self, other: &ProcessorArch) -> bool
[src]
fn eq(&self, other: &ProcessorArch) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ProcessorArch) -> bool
[src]
fn ne(&self, other: &ProcessorArch) -> bool
[src]This method tests for !=
.