A wrapper type around slices and vectors for binding the
array in JS.
If you need to invoke a JS API which must take
then you can define it as taking one of these types:
All of these types will show up as
Uint8ClampedArray in JS and will have
different forms of ownership in Rust.
impl<T: FromWasmAbi> FromWasmAbi for Clamped<T>[src]
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
impl<T: IntoWasmAbi> IntoWasmAbi for Clamped<T>[src]
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
impl<T> StructuralEq for Clamped<T>[src]
impl<T> StructuralPartialEq for Clamped<T>[src]
impl<T> RefUnwindSafe for Clamped<T> where
impl<T> UnwindSafe for Clamped<T> where
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.