pub enum WasmTargetProfile {
UnknownUnknown,
WasiPreview1,
WasiPreview1Threads,
WasiPreview2,
Wasm32V1None,
}Expand description
ABI or profile family for a Rust WebAssembly target.
Variants§
UnknownUnknown
Bare Wasm with no host interface implied.
WasiPreview1
WASI Preview 1.
WasiPreview1Threads
WASI Preview 1 with threads.
WasiPreview2
WASI Preview 2.
Wasm32V1None
Core Wasm 1.0 profile without std.
Implementations§
Trait Implementations§
Source§impl Clone for WasmTargetProfile
impl Clone for WasmTargetProfile
Source§fn clone(&self) -> WasmTargetProfile
fn clone(&self) -> WasmTargetProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WasmTargetProfile
impl Debug for WasmTargetProfile
Source§impl Default for WasmTargetProfile
impl Default for WasmTargetProfile
Source§fn default() -> WasmTargetProfile
fn default() -> WasmTargetProfile
Returns the “default value” for a type. Read more
Source§impl Display for WasmTargetProfile
impl Display for WasmTargetProfile
Source§impl Hash for WasmTargetProfile
impl Hash for WasmTargetProfile
Source§impl Ord for WasmTargetProfile
impl Ord for WasmTargetProfile
Source§fn cmp(&self, other: &WasmTargetProfile) -> Ordering
fn cmp(&self, other: &WasmTargetProfile) -> Ordering
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 PartialEq for WasmTargetProfile
impl PartialEq for WasmTargetProfile
Source§fn eq(&self, other: &WasmTargetProfile) -> bool
fn eq(&self, other: &WasmTargetProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WasmTargetProfile
impl PartialOrd for WasmTargetProfile
impl Copy for WasmTargetProfile
impl Eq for WasmTargetProfile
impl StructuralPartialEq for WasmTargetProfile
Auto Trait Implementations§
impl Freeze for WasmTargetProfile
impl RefUnwindSafe for WasmTargetProfile
impl Send for WasmTargetProfile
impl Sync for WasmTargetProfile
impl Unpin for WasmTargetProfile
impl UnsafeUnpin for WasmTargetProfile
impl UnwindSafe for WasmTargetProfile
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