#[non_exhaustive]
pub enum MachineType {
Show 26 variants Unknown, Am33, Amd64, Arm, Arm64, ArmNT, Ebc, X86, Ia64, M32R, Mips16, MipsFpu, MipsFpu16, PowerPC, PowerPCFP, R4000, RiscV32, RiscV64, RiscV128, SH3, SH3DSP, SH4, SH5, Thumb, WceMipsV2, Invalid,
}
Expand description

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.

Unknown

The contents of this field are assumed to be applicable to any machine type.

Am33

Matsushita AM33

Amd64

x64

Arm

ARM little endian

Arm64

ARM64 little endian

ArmNT

ARM Thumb-2 little endian

Ebc

EFI byte code

X86

Intel 386 or later processors and compatible processors

Ia64

Intel Itanium processor family

M32R

Mitsubishi M32R little endian

Mips16

MIPS16

MipsFpu

MIPS with FPU

MipsFpu16

MIPS16 with FPU

PowerPC

Power PC little endian

PowerPCFP

Power PC with floating point support

R4000

MIPS little endian

RiscV32

RISC-V 32-bit address space

RiscV64

RISC-V 64-bit address space

RiscV128

RISC-V 128-bit address space

SH3

Hitachi SH3

SH3DSP

Hitachi SH3 DSP

SH4

Hitachi SH4

SH5

Hitachi SH5

Thumb

Thumb

WceMipsV2

MIPS little-endian WCE v2

Invalid

Invalid value

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.