#[non_exhaustive]pub enum WasmArtifactPosture {
NotWasm,
ScalarArtifact,
Simd128Artifact,
}Expand description
Wasm artifact selection posture.
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.
NotWasm
The current target is not Wasm.
ScalarArtifact
A scalar Wasm artifact was selected.
Simd128Artifact
A simd128 Wasm artifact was selected at compile time.
Implementations§
Trait Implementations§
Source§impl Clone for WasmArtifactPosture
impl Clone for WasmArtifactPosture
Source§fn clone(&self) -> WasmArtifactPosture
fn clone(&self) -> WasmArtifactPosture
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 moreimpl Copy for WasmArtifactPosture
Source§impl Debug for WasmArtifactPosture
impl Debug for WasmArtifactPosture
impl Eq for WasmArtifactPosture
Source§impl Hash for WasmArtifactPosture
impl Hash for WasmArtifactPosture
Source§impl PartialEq for WasmArtifactPosture
impl PartialEq for WasmArtifactPosture
impl StructuralPartialEq for WasmArtifactPosture
Auto Trait Implementations§
impl Freeze for WasmArtifactPosture
impl RefUnwindSafe for WasmArtifactPosture
impl Send for WasmArtifactPosture
impl Sync for WasmArtifactPosture
impl Unpin for WasmArtifactPosture
impl UnsafeUnpin for WasmArtifactPosture
impl UnwindSafe for WasmArtifactPosture
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