Trait wasm_bindgen::convert::IntoWasmAbi [−][src]
A trait for anything that can be converted into a type that can cross the
wasm ABI directly, eg u32
or f64
.
This is the opposite operation as FromWasmAbi
and Ref[Mut]FromWasmAbi
.
Associated Types
Loading content...Required methods
fn into_abi(self) -> Self::Abi
[src]
Convert self
into Self::Abi
so that it can be sent across the wasm
ABI boundary.
Implementations on Foreign Types
impl<'a, 'b, R> IntoWasmAbi for &'a (dyn Fn() -> R + 'b) where
R: ReturnWasmAbi,
[src]
impl<'a, 'b, R> IntoWasmAbi for &'a (dyn Fn() -> R + 'b) where
R: ReturnWasmAbi,
[src]impl<'a, 'b, R> IntoWasmAbi for &'a mut (dyn FnMut() -> R + 'b) where
R: ReturnWasmAbi,
[src]
impl<'a, 'b, R> IntoWasmAbi for &'a mut (dyn FnMut() -> R + 'b) where
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn Fn(A) -> R + 'b) where
A: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn Fn(A) -> R + 'b) where
A: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, R> IntoWasmAbi for &'a mut (dyn FnMut(A) -> R + 'b) where
A: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, R> IntoWasmAbi for &'a mut (dyn FnMut(A) -> R + 'b) where
A: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, R> IntoWasmAbi for &'a (dyn Fn(A, B) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, R> IntoWasmAbi for &'a (dyn Fn(A, B) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, R> IntoWasmAbi for &'a (dyn Fn(A, B, C) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, R> IntoWasmAbi for &'a (dyn Fn(A, B, C) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, F, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E, F) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, F, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E, F) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, F, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E, F) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, F, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E, F) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, F, G, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E, F, G) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, F, G, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E, F, G) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, F, G, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E, F, G) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, F, G, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E, F, G) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, F, G, H, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E, F, G, H) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
H: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, F, G, H, R> IntoWasmAbi for &'a (dyn Fn(A, B, C, D, E, F, G, H) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
H: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, B, C, D, E, F, G, H, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E, F, G, H) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
H: FromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, B, C, D, E, F, G, H, R> IntoWasmAbi for &'a mut (dyn FnMut(A, B, C, D, E, F, G, H) -> R + 'b) where
A: FromWasmAbi,
B: FromWasmAbi,
C: FromWasmAbi,
D: FromWasmAbi,
E: FromWasmAbi,
F: FromWasmAbi,
G: FromWasmAbi,
H: FromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn Fn(&A) -> R + 'b) where
A: RefFromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, R> IntoWasmAbi for &'a (dyn Fn(&A) -> R + 'b) where
A: RefFromWasmAbi,
R: ReturnWasmAbi,
[src]impl<'a, 'b, A, R> IntoWasmAbi for &'a mut (dyn FnMut(&A) -> R + 'b) where
A: RefFromWasmAbi,
R: ReturnWasmAbi,
[src]
impl<'a, 'b, A, R> IntoWasmAbi for &'a mut (dyn FnMut(&A) -> R + 'b) where
A: RefFromWasmAbi,
R: ReturnWasmAbi,
[src]impl IntoWasmAbi for Option<i32>
[src]
impl IntoWasmAbi for Option<i32>
[src]type Abi = WasmOptionalI32
fn into_abi(self) -> WasmOptionalI32
[src]
impl IntoWasmAbi for Option<isize>
[src]
impl IntoWasmAbi for Option<isize>
[src]type Abi = WasmOptionalI32
fn into_abi(self) -> WasmOptionalI32
[src]
impl IntoWasmAbi for Option<u32>
[src]
impl IntoWasmAbi for Option<u32>
[src]type Abi = WasmOptionalU32
fn into_abi(self) -> WasmOptionalU32
[src]
impl IntoWasmAbi for Option<usize>
[src]
impl IntoWasmAbi for Option<usize>
[src]type Abi = WasmOptionalU32
fn into_abi(self) -> WasmOptionalU32
[src]
impl IntoWasmAbi for Option<f32>
[src]
impl IntoWasmAbi for Option<f32>
[src]type Abi = WasmOptionalF32
fn into_abi(self) -> WasmOptionalF32
[src]
impl IntoWasmAbi for Option<f64>
[src]
impl IntoWasmAbi for Option<f64>
[src]type Abi = WasmOptionalF64
fn into_abi(self) -> WasmOptionalF64
[src]
impl IntoWasmAbi for Option<i64>
[src]
impl IntoWasmAbi for Option<i64>
[src]type Abi = WasmOptional64
fn into_abi(self) -> WasmOptional64
[src]
impl IntoWasmAbi for Option<u64>
[src]
impl IntoWasmAbi for Option<u64>
[src]type Abi = WasmOptional64
fn into_abi(self) -> WasmOptional64
[src]
impl<T: OptionIntoWasmAbi> IntoWasmAbi for Option<T>
[src]
impl<T: OptionIntoWasmAbi> IntoWasmAbi for Option<T>
[src]impl<'a> IntoWasmAbi for &'a mut [usize]
[src]
impl<'a> IntoWasmAbi for &'a mut [usize]
[src]impl<'a> IntoWasmAbi for &'a mut [isize]
[src]
impl<'a> IntoWasmAbi for &'a mut [isize]
[src]impl<T> IntoWasmAbi for Vec<T> where
Box<[T]>: IntoWasmAbi<Abi = WasmSlice>,
[src]
impl<T> IntoWasmAbi for Vec<T> where
Box<[T]>: IntoWasmAbi<Abi = WasmSlice>,
[src]impl IntoWasmAbi for String
[src]
impl IntoWasmAbi for String
[src]impl<'a> IntoWasmAbi for &'a str
[src]
impl<'a> IntoWasmAbi for &'a str
[src]Implementors
impl<'a, T: ?Sized> IntoWasmAbi for &'a Closure<T> where
T: WasmClosure,
[src]
impl<'a, T: ?Sized> IntoWasmAbi for &'a Closure<T> where
T: WasmClosure,
[src]impl<T: IntoWasmAbi> IntoWasmAbi for Clamped<T>
[src]
impl<T: IntoWasmAbi> IntoWasmAbi for Clamped<T>
[src]