pub struct V128(/* private fields */);
Available on crate feature
runtime
only.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 PartialOrd for V128
impl PartialOrd for V128
impl Copy for V128
impl Eq for V128
impl WasmTy for V128
Available on x86-64 or AArch64 only.
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more