sycamore::web::js_sys::wasm_bindgen::convert

Trait VectorIntoWasmAbi

source
pub trait VectorIntoWasmAbi: Sized + WasmDescribeVector {
    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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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

Implementors§