Trait wasm_bindgen::convert::VectorIntoWasmAbi

source ·
pub trait VectorIntoWasmAbi: WasmDescribeVector + Sized {
    type Abi: WasmAbi;

    // Required method
    fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi;
}
Expand description

Trait for element types to implement IntoWasmAbi for vectors of themselves.

§⚠️ Unstable

This is part of the internal convert module, no stability guarantees are provided. Use at your own risk. See its documentation for more details.

Required Associated Types§

Required Methods§

source

fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VectorIntoWasmAbi for f32

source§

impl VectorIntoWasmAbi for f64

source§

impl VectorIntoWasmAbi for i8

source§

impl VectorIntoWasmAbi for i16

source§

impl VectorIntoWasmAbi for i32

source§

impl VectorIntoWasmAbi for i64

source§

impl VectorIntoWasmAbi for isize

source§

impl VectorIntoWasmAbi for u8

source§

impl VectorIntoWasmAbi for u16

source§

impl VectorIntoWasmAbi for u32

source§

impl VectorIntoWasmAbi for u64

source§

impl VectorIntoWasmAbi for usize

source§

impl VectorIntoWasmAbi for String

§

type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi

source§

fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi

Implementors§

source§

impl VectorIntoWasmAbi for JsValue

source§

impl<T> VectorIntoWasmAbi for T
where T: JsObject,