pub struct Machine { /* private fields */ }Implementations§
Source§impl Machine
impl Machine
Sourcepub const MIPS_RS3_LE: Self
pub const MIPS_RS3_LE: Self
MIPS RS3000 Little-endian
Sourcepub const SPARC32PLUS: Self
pub const SPARC32PLUS: Self
Enhanced instruction set SPARC
Sourcepub const ARC_COMPACT: Self
pub const ARC_COMPACT: Self
ARC International ARCompact processor
Sourcepub const UNICORE: Self
pub const UNICORE: Self
Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University
Sourcepub const ALTERA_NIOS2: Self
pub const ALTERA_NIOS2: Self
Altera Nios II soft-core processor
Sourcepub const VIDEOCORE3: Self
pub const VIDEOCORE3: Self
Broadcom VideoCore III processor
Sourcepub const LATTICEMICO32: Self
pub const LATTICEMICO32: Self
RISC processor for Lattice FPGA architecture
Sourcepub const MMDSP_PLUS: Self
pub const MMDSP_PLUS: Self
STMicroelectronics 64bit VLIW Data Signal Processor
Sourcepub const CYPRESS_M8C: Self
pub const CYPRESS_M8C: Self
Cypress M8C microprocessor
Sourcepub const STXP7X: Self
pub const STXP7X: Self
STMicroelectronics STxP7x family of configurable and extensible RISC processors
Sourcepub const MCST_ELBRUS: Self
pub const MCST_ELBRUS: Self
MCST Elbrus general purpose hardware architecture
Sourcepub const MICROBLAZE: Self
pub const MICROBLAZE: Self
Xilinx MicroBlaze 32-bit RISC soft processor core
Sourcepub const CLOUDSHIELD: Self
pub const CLOUDSHIELD: Self
CloudShield architecture family
Sourcepub const ARC_COMPACT2: Self
pub const ARC_COMPACT2: Self
Synopsys ARCompact V2
Sourcepub const VIDEOCORE5: Self
pub const VIDEOCORE5: Self
Broadcom VideoCore V processor
Sourcepub const CSR_KALIMBA: Self
pub const CSR_KALIMBA: Self
CSR Kalimba architecture family
pub const fn from_raw(raw: u16) -> Self
pub const fn into_raw(self) -> u16
pub const fn as_raw(&self) -> u16
Trait Implementations§
impl Eq for Machine
Source§impl FromBytes for Machine
impl FromBytes for Machine
Source§fn read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>where
Self: Sized,
fn read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>where
Self: Sized,
Source§impl FromZeros for Machine
impl FromZeros for Machine
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl Ord for Machine
impl Ord for Machine
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Machine
impl PartialOrd for Machine
impl StructuralPartialEq for Machine
Source§impl TryFromBytes for Machinewhere
u16: TryFromBytes,
impl TryFromBytes for Machinewhere
u16: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for Machine
impl RefUnwindSafe for Machine
impl Send for Machine
impl Sync for Machine
impl Unpin for Machine
impl UnsafeUnpin for Machine
impl UnwindSafe for Machine
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