Enum wasmer::Architecture [−][src]
#[non_exhaustive]
pub enum Architecture {
Show 26 variants
Unknown,
Arm(ArmArchitecture),
AmdGcn,
Aarch64(Aarch64Architecture),
Asmjs,
Avr,
Bpfeb,
Bpfel,
Hexagon,
X86_32(X86_32Architecture),
Mips32(Mips32Architecture),
Mips64(Mips64Architecture),
Msp430,
Nvptx64,
Powerpc,
Powerpc64,
Powerpc64le,
Riscv32(Riscv32Architecture),
Riscv64(Riscv64Architecture),
S390x,
Sparc,
Sparc64,
Sparcv9,
Wasm32,
Wasm64,
X86_64,
}
Expand description
The “architecture” field, which in some cases also specifies a specific subarchitecture.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Unknown
Arm(ArmArchitecture)
Tuple Fields
AmdGcn
Aarch64(Aarch64Architecture)
Tuple Fields
Asmjs
Avr
Bpfeb
Bpfel
Hexagon
X86_32(X86_32Architecture)
Tuple Fields
Mips32(Mips32Architecture)
Tuple Fields
Mips64(Mips64Architecture)
Tuple Fields
Msp430
Nvptx64
Powerpc
Powerpc64
Powerpc64le
Riscv32(Riscv32Architecture)
Tuple Fields
Riscv64(Riscv64Architecture)
Tuple Fields
S390x
Sparc
Sparc64
Sparcv9
Wasm32
Wasm64
X86_64
Implementations
Return the endianness of this architecture.
Return the pointer bit width of this target’s architecture.
Return the architecture for the current host.
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 Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more