Struct wasm_bridge::V128
source · pub struct V128(/* private fields */);Expand description
Representation of a 128-bit vector type, v128, for WebAssembly.
This type corresponds to the v128 type in WebAssembly and can be used with
the TypedFunc API for example. This is additionally
the payload of Val::V128.
§Platform specifics
This type can currently only be used on x86_64 and AArch64 with the
TypedFunc API. Rust does not have stable support on other platforms for
this type so invoking functions with v128 parameters requires the
Func::call API (or perhaps
Func::call_unchecked.
Implementations§
Trait Implementations§
source§impl Ord for V128
impl Ord for V128
source§impl PartialEq for V128
impl PartialEq for V128
source§impl PartialOrd for V128
impl PartialOrd for V128
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for V128
impl Eq for V128
impl WasmTy for V128
Auto Trait Implementations§
impl Freeze for V128
impl RefUnwindSafe for V128
impl Send for V128
impl Sync for V128
impl Unpin for V128
impl UnwindSafe for V128
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.