Skip to main content

Machine

Struct Machine 

Source
pub struct Machine { /* private fields */ }

Implementations§

Source§

impl Machine

Source

pub const NONE: Self

No machine

Source

pub const M32: Self

AT&T WE 32100

Source

pub const SPARC: Self

SPARC

Source

pub const _386: Self

Intel 80386

Source

pub const _68K: Self

Motorola 68000

Source

pub const _88K: Self

Motorola 88000

Source

pub const IAMCU: Self

Intel MCU

Source

pub const _860: Self

Intel 80860

Source

pub const MIPS: Self

MIPS I Architecture

Source

pub const S370: Self

IBM System/370 Processor

Source

pub const MIPS_RS3_LE: Self

MIPS RS3000 Little-endian

Source

pub const PARISC: Self

Hewlett-Packard PA-RISC

Source

pub const VPP500: Self

Fujitsu VPP500

Source

pub const SPARC32PLUS: Self

Enhanced instruction set SPARC

Source

pub const _960: Self

Intel 80960

Source

pub const PPC: Self

PowerPC

Source

pub const PPC64: Self

64-bit PowerPC

Source

pub const S390: Self

IBM System/390 Processor

Source

pub const SPU: Self

IBM SPU/SPC

Source

pub const V800: Self

NEC V800

Source

pub const FR20: Self

Fujitsu FR20

Source

pub const RH32: Self

TRW RH-32

Source

pub const RCE: Self

Motorola RCE

Source

pub const ARM: Self

ARM 32-bit architecture (AARCH32)

Source

pub const ALPHA: Self

Digital Alpha

Source

pub const SH: Self

Hitachi SH

Source

pub const SPARCV9: Self

SPARC Version 9

Source

pub const TRICORE: Self

Siemens TriCore embedded processor

Source

pub const ARC: Self

Argonaut RISC Core, Argonaut Technologies Inc.

Source

pub const H8_300: Self

Hitachi H8/300

Source

pub const H8_300H: Self

Hitachi H8/300H

Source

pub const H8S: Self

Hitachi H8S

Source

pub const H8_500: Self

Hitachi H8/500

Source

pub const IA_64: Self

Intel IA-64 processor architecture

Source

pub const MIPS_X: Self

Stanford MIPS-X

Source

pub const COLDFIRE: Self

Motorola ColdFire

Source

pub const _68HC12: Self

Motorola M68HC12

Source

pub const MMA: Self

Fujitsu MMA Multimedia Accelerator

Source

pub const PCP: Self

Siemens PCP

Source

pub const NCPU: Self

Sony nCPU embedded RISC processor

Source

pub const NDR1: Self

Denso NDR1 microprocessor

Source

pub const STARCORE: Self

Motorola Star*Core processor

Source

pub const ME16: Self

Toyota ME16 processor

Source

pub const ST100: Self

STMicroelectronics ST100 processor

Source

pub const TINYJ: Self

Advanced Logic Corp. TinyJ embedded processor family

Source

pub const X86_64: Self

AMD x86-64 architecture

Source

pub const PDSP: Self

Sony DSP Processor

Source

pub const PDP10: Self

Digital Equipment Corp. PDP-10

Source

pub const PDP11: Self

Digital Equipment Corp. PDP-11

Source

pub const FX66: Self

Siemens FX66 microcontroller

Source

pub const ST9PLUS: Self

STMicroelectronics ST9+ 8/16 bit microcontroller

Source

pub const ST7: Self

STMicroelectronics ST7 8-bit microcontroller

Source

pub const _68HC16: Self

Motorola MC68HC16 Microcontroller

Source

pub const _68HC11: Self

Motorola MC68HC11 Microcontroller

Source

pub const _68HC08: Self

Motorola MC68HC08 Microcontroller

Source

pub const _68HC05: Self

Motorola MC68HC05 Microcontroller

Source

pub const SVX: Self

Silicon Graphics SVx

Source

pub const ST19: Self

STMicroelectronics ST19 8-bit microcontroller

Source

pub const VAX: Self

Digital VAX

Source

pub const CRIS: Self

Axis Communications 32-bit embedded processor

Source

pub const JAVELIN: Self

Infineon Technologies 32-bit embedded processor

Source

pub const FIREPATH: Self

Element 14 64-bit DSP Processor

Source

pub const ZSP: Self

LSI Logic 16-bit DSP Processor

Source

pub const MMIX: Self

Donald Knuth’s educational 64-bit processor

Source

pub const HUANY: Self

Harvard University machine-independent object files

Source

pub const PRISM: Self

SiTera Prism

Source

pub const AVR: Self

Atmel AVR 8-bit microcontroller

Source

pub const FR30: Self

Fujitsu FR30

Source

pub const D10V: Self

Mitsubishi D10V

Source

pub const D30V: Self

Mitsubishi D30V

Source

pub const V850: Self

NEC v850

Source

pub const M32R: Self

Mitsubishi M32R

Source

pub const MN10300: Self

Matsushita MN10300

Source

pub const MN10200: Self

Matsushita MN10200

Source

pub const PJ: Self

picoJava

Source

pub const OPENRISC: Self

OpenRISC 32-bit embedded processor

Source

pub const ARC_COMPACT: Self

ARC International ARCompact processor

Source

pub const XTENSA: Self

Tensilica Xtensa Architecture

Source

pub const VIDEOCORE: Self

Alphamosaic VideoCore processor

Source

pub const TMM_GPP: Self

Thompson Multimedia General Purpose Processor

Source

pub const NS32K: Self

National Semiconductor 32000 series

Source

pub const TPC: Self

Tenor Network TPC processor

Source

pub const SNP1K: Self

Trebia SNP 1000 processor

Source

pub const ST200: Self

STMicroelectronics ST200 microcontroller

Source

pub const IP2K: Self

Ubicom IP2xxx microcontroller family

Source

pub const MAX: Self

MAX Processor

Source

pub const CR: Self

National Semiconductor CompactRISC microprocessor

Source

pub const F2MC16: Self

Fujitsu F2MC16

Source

pub const MSP430: Self

Texas Instruments embedded microcontroller msp430

Source

pub const BLACKFIN: Self

Analog Devices Blackfin (DSP) processor

Source

pub const SE_C33: Self

S1C33 Family of Seiko Epson processors

Source

pub const SEP: Self

Sharp embedded microprocessor

Source

pub const ARCA: Self

Arca RISC Microprocessor

Source

pub const UNICORE: Self

Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University

Source

pub const EXCESS: Self

eXcess: 16/32/64-bit configurable embedded CPU

Source

pub const DXP: Self

Icera Semiconductor Inc. Deep Execution Processor

Source

pub const ALTERA_NIOS2: Self

Altera Nios II soft-core processor

Source

pub const CRX: Self

National Semiconductor CompactRISC CRX microprocessor

Source

pub const XGATE: Self

Motorola XGATE embedded processor

Source

pub const C166: Self

Infineon C16x/XC16x processor

Source

pub const M16C: Self

Renesas M16C series microprocessors

Source

pub const DSPIC30F: Self

Microchip Technology dsPIC30F Digital Signal Controller

Source

pub const CE: Self

Freescale Communication Engine RISC core

Source

pub const M32C: Self

Renesas M32C series microprocessors

Source

pub const TSK3000: Self

Altium TSK3000 core

Source

pub const RS08: Self

Freescale RS08 embedded processor

Source

pub const SHARC: Self

Analog Devices SHARC family of 32-bit DSP processors

Source

pub const ECOG2: Self

Cyan Technology eCOG2 microprocessor

Source

pub const SCORE7: Self

Sunplus S+core7 RISC processor

Source

pub const DSP24: Self

New Japan Radio (NJR) 24-bit DSP Processor

Source

pub const VIDEOCORE3: Self

Broadcom VideoCore III processor

Source

pub const LATTICEMICO32: Self

RISC processor for Lattice FPGA architecture

Source

pub const SE_C17: Self

Seiko Epson C17 family

Source

pub const TI_C6000: Self

The Texas Instruments TMS320C6000 DSP family

Source

pub const TI_C2000: Self

The Texas Instruments TMS320C2000 DSP family

Source

pub const TI_C5500: Self

The Texas Instruments TMS320C55x DSP family

Source

pub const TI_ARP32: Self

Texas Instruments Application Specific RISC Processor, 32bit fetch

Source

pub const TI_PRU: Self

Texas Instruments Programmable Realtime Unit

Source

pub const MMDSP_PLUS: Self

STMicroelectronics 64bit VLIW Data Signal Processor

Source

pub const CYPRESS_M8C: Self

Cypress M8C microprocessor

Source

pub const R32C: Self

Renesas R32C series microprocessors

Source

pub const TRIMEDIA: Self

NXP Semiconductors TriMedia architecture family

Source

pub const QDSP6: Self

QUALCOMM DSP6 Processor

Source

pub const _8051: Self

Intel 8051 and variants

Source

pub const STXP7X: Self

STMicroelectronics STxP7x family of configurable and extensible RISC processors

Source

pub const NDS32: Self

Andes Technology compact code size embedded RISC processor family

Source

pub const ECOG1X: Self

Cyan Technology eCOG1X family

Source

pub const MAXQ30: Self

Dallas Semiconductor MAXQ30 Core Micro-controllers

Source

pub const XIMO16: Self

New Japan Radio (NJR) 16-bit DSP Processor

Source

pub const MANIK: Self

M2000 Reconfigurable RISC Microprocessor

Source

pub const CRAYNV2: Self

Cray Inc. NV2 vector architecture

Source

pub const RX: Self

Renesas RX family

Source

pub const METAG: Self

Imagination Technologies META processor architecture

Source

pub const MCST_ELBRUS: Self

MCST Elbrus general purpose hardware architecture

Source

pub const ECOG16: Self

Cyan Technology eCOG16 family

Source

pub const CR16: Self

National Semiconductor CompactRISC CR16 16-bit microprocessor

Source

pub const ETPU: Self

Freescale Extended Time Processing Unit

Source

pub const SLE9X: Self

Infineon Technologies SLE9X core

Source

pub const L10M: Self

Intel L10M

Source

pub const K10M: Self

Intel K10M

Source

pub const AARCH64: Self

ARM 64-bit architecture (AARCH64)

Source

pub const AVR32: Self

Atmel Corporation 32-bit microprocessor family

Source

pub const STM8: Self

STMicroeletronics STM8 8-bit microcontroller

Source

pub const TILE64: Self

Tilera TILE64 multicore architecture family

Source

pub const TILEPRO: Self

Tilera TILEPro multicore architecture family

Source

pub const MICROBLAZE: Self

Xilinx MicroBlaze 32-bit RISC soft processor core

Source

pub const CUDA: Self

NVIDIA CUDA architecture

Source

pub const TILEGX: Self

Tilera TILE-Gx multicore architecture family

Source

pub const CLOUDSHIELD: Self

CloudShield architecture family

Source

pub const COREA_1ST: Self

KIPO-KAIST Core-A 1st generation processor family

Source

pub const COREA_2ND: Self

KIPO-KAIST Core-A 2nd generation processor family

Source

pub const ARC_COMPACT2: Self

Synopsys ARCompact V2

Source

pub const OPEN8: Self

Open8 8-bit RISC soft processor core

Source

pub const RL78: Self

Renesas RL78 family

Source

pub const VIDEOCORE5: Self

Broadcom VideoCore V processor

Source

pub const _78KOR: Self

Renesas 78KOR family

Source

pub const _56800EX: Self

Freescale 56800EX Digital Signal Controller (DSC)

Source

pub const BA1: Self

Beyond BA1 CPU architecture

Source

pub const BA2: Self

Beyond BA2 CPU architecture

Source

pub const XCORE: Self

XMOS xCORE processor family

Source

pub const MCHP_PIC: Self

Microchip 8-bit PIC(r) family

Source

pub const KM32: Self

KM211 KM32 32-bit processor

Source

pub const KMX32: Self

KM211 KMX32 32-bit processor

Source

pub const KMX16: Self

KM211 KMX16 16-bit processor

Source

pub const KMX8: Self

KM211 KMX8 8-bit processor

Source

pub const KVARC: Self

KM211 KVARC processor

Source

pub const CDP: Self

Paneve CDP architecture family

Source

pub const COGE: Self

Cognitive Smart Memory Processor

Source

pub const COOL: Self

Bluechip Systems CoolEngine

Source

pub const NORC: Self

Nanoradio Optimized RISC

Source

pub const CSR_KALIMBA: Self

CSR Kalimba architecture family

Source

pub const Z80: Self

Zilog Z80

Source

pub const VISIUM: Self

Controls and Data Services VISIUMcore processor

Source

pub const FT32: Self

FTDI Chip FT32 high performance 32-bit RISC architecture

Source

pub const MOXIE: Self

Moxie processor family

Source

pub const AMDGPU: Self

AMD GPU architecture

Source

pub const RISCV: Self

RISC-V

Source

pub const fn from_raw(raw: u16) -> Self

Source

pub const fn into_raw(self) -> u16

Source

pub const fn as_raw(&self) -> u16

Trait Implementations§

Source§

impl Clone for Machine

Source§

fn clone(&self) -> Machine

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Machine

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Machine

Source§

impl From<Machine> for u16

Source§

fn from(e: Machine) -> u16

Converts to this type from the input type.
Source§

impl FromBytes for Machine
where u16: FromBytes,

Source§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the given source. Read more
Source§

fn read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
Source§

fn read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
Source§

fn read_from_io<R>(src: R) -> Result<Self, Error>
where Self: Sized, R: Read,

Reads a copy of self from an io::Read. Read more
Source§

impl FromZeros for Machine
where u16: FromZeros,

Source§

fn zero(&mut self)

Overwrites self with zeros. Read more
Source§

fn new_zeroed() -> Self
where Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
Source§

fn new_box_zeroed() -> Result<Box<Self>, AllocError>
where Self: Sized,

Creates a Box<Self> from zeroed bytes. Read more
Source§

fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>
where Self: Sized,

Creates a Vec<Self> from zeroed bytes. Read more
Source§

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§

fn insert_vec_zeroed( v: &mut Vec<Self>, position: usize, additional: usize, ) -> Result<(), AllocError>
where Self: Sized,

Inserts additional new items into Vec<Self> at position. The new items are initialized with zeros. Read more
Source§

impl Ord for Machine

Source§

fn cmp(&self, other: &Machine) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Machine

Source§

fn eq(&self, other: &Machine) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Machine

Source§

fn partial_cmp(&self, other: &Machine) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for Machine

Source§

impl TryFromBytes for Machine

Source§

fn try_read_from_bytes( source: &[u8], ) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read the given source as a Self. Read more
Source§

fn try_read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
Source§

fn try_read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.