Trait wgpu::web_sys::js_sys::wasm_bindgen::convert::VectorIntoWasmAbi
source · pub trait VectorIntoWasmAbi: Sized + WasmDescribeVector {
type Abi: WasmAbi;
// Required method
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi;
}
Available on (
webgl
or webgpu
) and crate feature std
only.Expand description
Trait for element types to implement IntoWasmAbi for vectors of themselves.
Required Associated Types§
Required Methods§
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Object Safety§
This trait is not object safe.