pub struct WasmCompressionParameters { /* private fields */ }Expand description
WebAssembly wrapper for CompressionParameters
Implementations§
Trait Implementations§
Source§impl From<WasmCompressionParameters> for JsValue
impl From<WasmCompressionParameters> for JsValue
Source§fn from(value: WasmCompressionParameters) -> Self
fn from(value: WasmCompressionParameters) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for WasmCompressionParameters
impl RefFromWasmAbi for WasmCompressionParameters
Source§type Anchor = RcRef<WasmCompressionParameters>
type Anchor = RcRef<WasmCompressionParameters>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for WasmCompressionParameters
impl VectorFromWasmAbi for WasmCompressionParameters
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmCompressionParameters]>
Source§impl VectorIntoWasmAbi for WasmCompressionParameters
impl VectorIntoWasmAbi for WasmCompressionParameters
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmCompressionParameters]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmCompressionParameters
impl WasmDescribeVector for WasmCompressionParameters
impl SupportsConstructor for WasmCompressionParameters
impl SupportsInstanceProperty for WasmCompressionParameters
impl SupportsStaticProperty for WasmCompressionParameters
Auto Trait Implementations§
impl Freeze for WasmCompressionParameters
impl RefUnwindSafe for WasmCompressionParameters
impl Send for WasmCompressionParameters
impl Sync for WasmCompressionParameters
impl Unpin for WasmCompressionParameters
impl UnwindSafe for WasmCompressionParameters
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.