[−][src]Trait sauron::prelude::wasm_bindgen::convert::RefFromWasmAbi
A trait for anything that can be recovered as some sort of shared reference from the wasm ABI boundary.
This is the shared reference variant of the opposite operation as
IntoWasmAbi
.
Associated Types
type Abi: WasmAbi
The wasm ABI type references to Self
are recovered from.
type Anchor: Deref
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.
Required methods
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Implementations on Foreign Types
impl RefFromWasmAbi for [f64]
[src]
type Abi = WasmSlice
type Anchor = Box<[f64]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[f64]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [i16]
[src]
type Abi = WasmSlice
type Anchor = Box<[i16]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[i16]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [isize]
[src]
type Abi = WasmSlice
type Anchor = Box<[isize]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[isize]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [i32]
[src]
type Abi = WasmSlice
type Anchor = Box<[i32]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[i32]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [f32]
[src]
type Abi = WasmSlice
type Anchor = Box<[f32]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[f32]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [i8]
[src]
type Abi = WasmSlice
type Anchor = Box<[i8]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[i8]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [u16]
[src]
type Abi = WasmSlice
type Anchor = Box<[u16]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[u16]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for str
[src]
type Abi = <[u8] as RefFromWasmAbi>::Abi
type Anchor = Box<str>
unsafe fn ref_from_abi(
js: <str as RefFromWasmAbi>::Abi
) -> <str as RefFromWasmAbi>::Anchor
[src]
js: <str as RefFromWasmAbi>::Abi
) -> <str as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for [u64]
[src]
type Abi = WasmSlice
type Anchor = Box<[u64]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[u64]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [u8]
[src]
type Abi = WasmSlice
type Anchor = Box<[u8]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[u8]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [usize]
[src]
type Abi = WasmSlice
type Anchor = Box<[usize]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[usize]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [u32]
[src]
type Abi = WasmSlice
type Anchor = Box<[u32]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[u32]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for [i64]
[src]
type Abi = WasmSlice
type Anchor = Box<[i64]>
unsafe fn ref_from_abi(js: WasmSlice) -> Box<[i64]>ⓘNotable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R>
impl<R> Read for Box<R> where
R: Read + ?Sized, impl<W> Write for Box<W> where
W: Write + ?Sized, impl<I> Iterator for Box<I> where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl RefFromWasmAbi for Error
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Error>
unsafe fn ref_from_abi(
js: <Error as RefFromWasmAbi>::Abi
) -> <Error as RefFromWasmAbi>::Anchor
[src]
js: <Error as RefFromWasmAbi>::Abi
) -> <Error as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Uint8ClampedArray
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Uint8ClampedArray>
unsafe fn ref_from_abi(
js: <Uint8ClampedArray as RefFromWasmAbi>::Abi
) -> <Uint8ClampedArray as RefFromWasmAbi>::Anchor
[src]
js: <Uint8ClampedArray as RefFromWasmAbi>::Abi
) -> <Uint8ClampedArray as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for AsyncIterator
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<AsyncIterator>
unsafe fn ref_from_abi(
js: <AsyncIterator as RefFromWasmAbi>::Abi
) -> <AsyncIterator as RefFromWasmAbi>::Anchor
[src]
js: <AsyncIterator as RefFromWasmAbi>::Abi
) -> <AsyncIterator as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for WeakMap
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<WeakMap>
unsafe fn ref_from_abi(
js: <WeakMap as RefFromWasmAbi>::Abi
) -> <WeakMap as RefFromWasmAbi>::Anchor
[src]
js: <WeakMap as RefFromWasmAbi>::Abi
) -> <WeakMap as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Promise
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Promise>
unsafe fn ref_from_abi(
js: <Promise as RefFromWasmAbi>::Abi
) -> <Promise as RefFromWasmAbi>::Anchor
[src]
js: <Promise as RefFromWasmAbi>::Abi
) -> <Promise as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Uint32Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Uint32Array>
unsafe fn ref_from_abi(
js: <Uint32Array as RefFromWasmAbi>::Abi
) -> <Uint32Array as RefFromWasmAbi>::Anchor
[src]
js: <Uint32Array as RefFromWasmAbi>::Abi
) -> <Uint32Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for SharedArrayBuffer
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<SharedArrayBuffer>
unsafe fn ref_from_abi(
js: <SharedArrayBuffer as RefFromWasmAbi>::Abi
) -> <SharedArrayBuffer as RefFromWasmAbi>::Anchor
[src]
js: <SharedArrayBuffer as RefFromWasmAbi>::Abi
) -> <SharedArrayBuffer as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Collator
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Collator>
unsafe fn ref_from_abi(
js: <Collator as RefFromWasmAbi>::Abi
) -> <Collator as RefFromWasmAbi>::Anchor
[src]
js: <Collator as RefFromWasmAbi>::Abi
) -> <Collator as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for LinkError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<LinkError>
unsafe fn ref_from_abi(
js: <LinkError as RefFromWasmAbi>::Abi
) -> <LinkError as RefFromWasmAbi>::Anchor
[src]
js: <LinkError as RefFromWasmAbi>::Abi
) -> <LinkError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Generator
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Generator>
unsafe fn ref_from_abi(
js: <Generator as RefFromWasmAbi>::Abi
) -> <Generator as RefFromWasmAbi>::Anchor
[src]
js: <Generator as RefFromWasmAbi>::Abi
) -> <Generator as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Int8Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Int8Array>
unsafe fn ref_from_abi(
js: <Int8Array as RefFromWasmAbi>::Abi
) -> <Int8Array as RefFromWasmAbi>::Anchor
[src]
js: <Int8Array as RefFromWasmAbi>::Abi
) -> <Int8Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Function
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Function>
unsafe fn ref_from_abi(
js: <Function as RefFromWasmAbi>::Abi
) -> <Function as RefFromWasmAbi>::Anchor
[src]
js: <Function as RefFromWasmAbi>::Abi
) -> <Function as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Array>
unsafe fn ref_from_abi(
js: <Array as RefFromWasmAbi>::Abi
) -> <Array as RefFromWasmAbi>::Anchor
[src]
js: <Array as RefFromWasmAbi>::Abi
) -> <Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Number
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Number>
unsafe fn ref_from_abi(
js: <Number as RefFromWasmAbi>::Abi
) -> <Number as RefFromWasmAbi>::Anchor
[src]
js: <Number as RefFromWasmAbi>::Abi
) -> <Number as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for RegExp
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<RegExp>
unsafe fn ref_from_abi(
js: <RegExp as RefFromWasmAbi>::Abi
) -> <RegExp as RefFromWasmAbi>::Anchor
[src]
js: <RegExp as RefFromWasmAbi>::Abi
) -> <RegExp as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for DateTimeFormat
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<DateTimeFormat>
unsafe fn ref_from_abi(
js: <DateTimeFormat as RefFromWasmAbi>::Abi
) -> <DateTimeFormat as RefFromWasmAbi>::Anchor
[src]
js: <DateTimeFormat as RefFromWasmAbi>::Abi
) -> <DateTimeFormat as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Boolean
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Boolean>
unsafe fn ref_from_abi(
js: <Boolean as RefFromWasmAbi>::Abi
) -> <Boolean as RefFromWasmAbi>::Anchor
[src]
js: <Boolean as RefFromWasmAbi>::Abi
) -> <Boolean as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Set
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Set>
unsafe fn ref_from_abi(
js: <Set as RefFromWasmAbi>::Abi
) -> <Set as RefFromWasmAbi>::Anchor
[src]
js: <Set as RefFromWasmAbi>::Abi
) -> <Set as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for IteratorNext
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<IteratorNext>
unsafe fn ref_from_abi(
js: <IteratorNext as RefFromWasmAbi>::Abi
) -> <IteratorNext as RefFromWasmAbi>::Anchor
[src]
js: <IteratorNext as RefFromWasmAbi>::Abi
) -> <IteratorNext as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Table
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Table>
unsafe fn ref_from_abi(
js: <Table as RefFromWasmAbi>::Abi
) -> <Table as RefFromWasmAbi>::Anchor
[src]
js: <Table as RefFromWasmAbi>::Abi
) -> <Table as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Instance
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Instance>
unsafe fn ref_from_abi(
js: <Instance as RefFromWasmAbi>::Abi
) -> <Instance as RefFromWasmAbi>::Anchor
[src]
js: <Instance as RefFromWasmAbi>::Abi
) -> <Instance as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Int16Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Int16Array>
unsafe fn ref_from_abi(
js: <Int16Array as RefFromWasmAbi>::Abi
) -> <Int16Array as RefFromWasmAbi>::Anchor
[src]
js: <Int16Array as RefFromWasmAbi>::Abi
) -> <Int16Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for SyntaxError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<SyntaxError>
unsafe fn ref_from_abi(
js: <SyntaxError as RefFromWasmAbi>::Abi
) -> <SyntaxError as RefFromWasmAbi>::Anchor
[src]
js: <SyntaxError as RefFromWasmAbi>::Abi
) -> <SyntaxError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Uint8Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Uint8Array>
unsafe fn ref_from_abi(
js: <Uint8Array as RefFromWasmAbi>::Abi
) -> <Uint8Array as RefFromWasmAbi>::Anchor
[src]
js: <Uint8Array as RefFromWasmAbi>::Abi
) -> <Uint8Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for TypeError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<TypeError>
unsafe fn ref_from_abi(
js: <TypeError as RefFromWasmAbi>::Abi
) -> <TypeError as RefFromWasmAbi>::Anchor
[src]
js: <TypeError as RefFromWasmAbi>::Abi
) -> <TypeError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for UriError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<UriError>
unsafe fn ref_from_abi(
js: <UriError as RefFromWasmAbi>::Abi
) -> <UriError as RefFromWasmAbi>::Anchor
[src]
js: <UriError as RefFromWasmAbi>::Abi
) -> <UriError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for RangeError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<RangeError>
unsafe fn ref_from_abi(
js: <RangeError as RefFromWasmAbi>::Abi
) -> <RangeError as RefFromWasmAbi>::Anchor
[src]
js: <RangeError as RefFromWasmAbi>::Abi
) -> <RangeError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for NumberFormat
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<NumberFormat>
unsafe fn ref_from_abi(
js: <NumberFormat as RefFromWasmAbi>::Abi
) -> <NumberFormat as RefFromWasmAbi>::Anchor
[src]
js: <NumberFormat as RefFromWasmAbi>::Abi
) -> <NumberFormat as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for ReferenceError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<ReferenceError>
unsafe fn ref_from_abi(
js: <ReferenceError as RefFromWasmAbi>::Abi
) -> <ReferenceError as RefFromWasmAbi>::Anchor
[src]
js: <ReferenceError as RefFromWasmAbi>::Abi
) -> <ReferenceError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Memory
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Memory>
unsafe fn ref_from_abi(
js: <Memory as RefFromWasmAbi>::Abi
) -> <Memory as RefFromWasmAbi>::Anchor
[src]
js: <Memory as RefFromWasmAbi>::Abi
) -> <Memory as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Proxy
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Proxy>
unsafe fn ref_from_abi(
js: <Proxy as RefFromWasmAbi>::Abi
) -> <Proxy as RefFromWasmAbi>::Anchor
[src]
js: <Proxy as RefFromWasmAbi>::Abi
) -> <Proxy as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Symbol
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Symbol>
unsafe fn ref_from_abi(
js: <Symbol as RefFromWasmAbi>::Abi
) -> <Symbol as RefFromWasmAbi>::Anchor
[src]
js: <Symbol as RefFromWasmAbi>::Abi
) -> <Symbol as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Module
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Module>
unsafe fn ref_from_abi(
js: <Module as RefFromWasmAbi>::Abi
) -> <Module as RefFromWasmAbi>::Anchor
[src]
js: <Module as RefFromWasmAbi>::Abi
) -> <Module as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Date
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Date>
unsafe fn ref_from_abi(
js: <Date as RefFromWasmAbi>::Abi
) -> <Date as RefFromWasmAbi>::Anchor
[src]
js: <Date as RefFromWasmAbi>::Abi
) -> <Date as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Int32Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Int32Array>
unsafe fn ref_from_abi(
js: <Int32Array as RefFromWasmAbi>::Abi
) -> <Int32Array as RefFromWasmAbi>::Anchor
[src]
js: <Int32Array as RefFromWasmAbi>::Abi
) -> <Int32Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Float32Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Float32Array>
unsafe fn ref_from_abi(
js: <Float32Array as RefFromWasmAbi>::Abi
) -> <Float32Array as RefFromWasmAbi>::Anchor
[src]
js: <Float32Array as RefFromWasmAbi>::Abi
) -> <Float32Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Uint16Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Uint16Array>
unsafe fn ref_from_abi(
js: <Uint16Array as RefFromWasmAbi>::Abi
) -> <Uint16Array as RefFromWasmAbi>::Anchor
[src]
js: <Uint16Array as RefFromWasmAbi>::Abi
) -> <Uint16Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for JsString
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<JsString>
unsafe fn ref_from_abi(
js: <JsString as RefFromWasmAbi>::Abi
) -> <JsString as RefFromWasmAbi>::Anchor
[src]
js: <JsString as RefFromWasmAbi>::Abi
) -> <JsString as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Map
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Map>
unsafe fn ref_from_abi(
js: <Map as RefFromWasmAbi>::Abi
) -> <Map as RefFromWasmAbi>::Anchor
[src]
js: <Map as RefFromWasmAbi>::Abi
) -> <Map as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for EvalError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<EvalError>
unsafe fn ref_from_abi(
js: <EvalError as RefFromWasmAbi>::Abi
) -> <EvalError as RefFromWasmAbi>::Anchor
[src]
js: <EvalError as RefFromWasmAbi>::Abi
) -> <EvalError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for RuntimeError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<RuntimeError>
unsafe fn ref_from_abi(
js: <RuntimeError as RefFromWasmAbi>::Abi
) -> <RuntimeError as RefFromWasmAbi>::Anchor
[src]
js: <RuntimeError as RefFromWasmAbi>::Abi
) -> <RuntimeError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for ArrayBuffer
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<ArrayBuffer>
unsafe fn ref_from_abi(
js: <ArrayBuffer as RefFromWasmAbi>::Abi
) -> <ArrayBuffer as RefFromWasmAbi>::Anchor
[src]
js: <ArrayBuffer as RefFromWasmAbi>::Abi
) -> <ArrayBuffer as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for PluralRules
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<PluralRules>
unsafe fn ref_from_abi(
js: <PluralRules as RefFromWasmAbi>::Abi
) -> <PluralRules as RefFromWasmAbi>::Anchor
[src]
js: <PluralRules as RefFromWasmAbi>::Abi
) -> <PluralRules as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Float64Array
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Float64Array>
unsafe fn ref_from_abi(
js: <Float64Array as RefFromWasmAbi>::Abi
) -> <Float64Array as RefFromWasmAbi>::Anchor
[src]
js: <Float64Array as RefFromWasmAbi>::Abi
) -> <Float64Array as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for DataView
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<DataView>
unsafe fn ref_from_abi(
js: <DataView as RefFromWasmAbi>::Abi
) -> <DataView as RefFromWasmAbi>::Anchor
[src]
js: <DataView as RefFromWasmAbi>::Abi
) -> <DataView as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for WeakSet
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<WeakSet>
unsafe fn ref_from_abi(
js: <WeakSet as RefFromWasmAbi>::Abi
) -> <WeakSet as RefFromWasmAbi>::Anchor
[src]
js: <WeakSet as RefFromWasmAbi>::Abi
) -> <WeakSet as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Object
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Object>
unsafe fn ref_from_abi(
js: <Object as RefFromWasmAbi>::Abi
) -> <Object as RefFromWasmAbi>::Anchor
[src]
js: <Object as RefFromWasmAbi>::Abi
) -> <Object as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for CompileError
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<CompileError>
unsafe fn ref_from_abi(
js: <CompileError as RefFromWasmAbi>::Abi
) -> <CompileError as RefFromWasmAbi>::Anchor
[src]
js: <CompileError as RefFromWasmAbi>::Abi
) -> <CompileError as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Iterator
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Iterator>
unsafe fn ref_from_abi(
js: <Iterator as RefFromWasmAbi>::Abi
) -> <Iterator as RefFromWasmAbi>::Anchor
[src]
js: <Iterator as RefFromWasmAbi>::Abi
) -> <Iterator as RefFromWasmAbi>::Anchor
Implementors
impl RefFromWasmAbi for AnimationEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<AnimationEvent>
unsafe fn ref_from_abi(
js: <AnimationEvent as RefFromWasmAbi>::Abi
) -> <AnimationEvent as RefFromWasmAbi>::Anchor
[src]
js: <AnimationEvent as RefFromWasmAbi>::Abi
) -> <AnimationEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for HashChangeEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<HashChangeEvent>
unsafe fn ref_from_abi(
js: <HashChangeEvent as RefFromWasmAbi>::Abi
) -> <HashChangeEvent as RefFromWasmAbi>::Anchor
[src]
js: <HashChangeEvent as RefFromWasmAbi>::Abi
) -> <HashChangeEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for JsValue
[src]
type Abi = u32
type Anchor = ManuallyDrop<JsValue>
unsafe fn ref_from_abi(js: u32) -> <JsValue as RefFromWasmAbi>::Anchor
[src]
impl RefFromWasmAbi for KeyboardEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<KeyboardEvent>
unsafe fn ref_from_abi(
js: <KeyboardEvent as RefFromWasmAbi>::Abi
) -> <KeyboardEvent as RefFromWasmAbi>::Anchor
[src]
js: <KeyboardEvent as RefFromWasmAbi>::Abi
) -> <KeyboardEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for MouseEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<MouseEvent>
unsafe fn ref_from_abi(
js: <MouseEvent as RefFromWasmAbi>::Abi
) -> <MouseEvent as RefFromWasmAbi>::Anchor
[src]
js: <MouseEvent as RefFromWasmAbi>::Abi
) -> <MouseEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for TransitionEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<TransitionEvent>
unsafe fn ref_from_abi(
js: <TransitionEvent as RefFromWasmAbi>::Abi
) -> <TransitionEvent as RefFromWasmAbi>::Anchor
[src]
js: <TransitionEvent as RefFromWasmAbi>::Abi
) -> <TransitionEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for CharacterData
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<CharacterData>
unsafe fn ref_from_abi(
js: <CharacterData as RefFromWasmAbi>::Abi
) -> <CharacterData as RefFromWasmAbi>::Anchor
[src]
js: <CharacterData as RefFromWasmAbi>::Abi
) -> <CharacterData as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Comment
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Comment>
unsafe fn ref_from_abi(
js: <Comment as RefFromWasmAbi>::Abi
) -> <Comment as RefFromWasmAbi>::Anchor
[src]
js: <Comment as RefFromWasmAbi>::Abi
) -> <Comment as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Document
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Document>
unsafe fn ref_from_abi(
js: <Document as RefFromWasmAbi>::Abi
) -> <Document as RefFromWasmAbi>::Anchor
[src]
js: <Document as RefFromWasmAbi>::Abi
) -> <Document as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Element
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Element>
unsafe fn ref_from_abi(
js: <Element as RefFromWasmAbi>::Abi
) -> <Element as RefFromWasmAbi>::Anchor
[src]
js: <Element as RefFromWasmAbi>::Abi
) -> <Element as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Event
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Event>
unsafe fn ref_from_abi(
js: <Event as RefFromWasmAbi>::Abi
) -> <Event as RefFromWasmAbi>::Anchor
[src]
js: <Event as RefFromWasmAbi>::Abi
) -> <Event as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for EventTarget
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<EventTarget>
unsafe fn ref_from_abi(
js: <EventTarget as RefFromWasmAbi>::Abi
) -> <EventTarget as RefFromWasmAbi>::Anchor
[src]
js: <EventTarget as RefFromWasmAbi>::Abi
) -> <EventTarget as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for History
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<History>
unsafe fn ref_from_abi(
js: <History as RefFromWasmAbi>::Abi
) -> <History as RefFromWasmAbi>::Anchor
[src]
js: <History as RefFromWasmAbi>::Abi
) -> <History as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for HtmlCollection
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<HtmlCollection>
unsafe fn ref_from_abi(
js: <HtmlCollection as RefFromWasmAbi>::Abi
) -> <HtmlCollection as RefFromWasmAbi>::Anchor
[src]
js: <HtmlCollection as RefFromWasmAbi>::Abi
) -> <HtmlCollection as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for HtmlElement
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<HtmlElement>
unsafe fn ref_from_abi(
js: <HtmlElement as RefFromWasmAbi>::Abi
) -> <HtmlElement as RefFromWasmAbi>::Anchor
[src]
js: <HtmlElement as RefFromWasmAbi>::Abi
) -> <HtmlElement as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for HtmlHeadElement
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<HtmlHeadElement>
unsafe fn ref_from_abi(
js: <HtmlHeadElement as RefFromWasmAbi>::Abi
) -> <HtmlHeadElement as RefFromWasmAbi>::Anchor
[src]
js: <HtmlHeadElement as RefFromWasmAbi>::Abi
) -> <HtmlHeadElement as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for HtmlInputElement
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<HtmlInputElement>
unsafe fn ref_from_abi(
js: <HtmlInputElement as RefFromWasmAbi>::Abi
) -> <HtmlInputElement as RefFromWasmAbi>::Anchor
[src]
js: <HtmlInputElement as RefFromWasmAbi>::Abi
) -> <HtmlInputElement as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for HtmlTextAreaElement
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<HtmlTextAreaElement>
unsafe fn ref_from_abi(
js: <HtmlTextAreaElement as RefFromWasmAbi>::Abi
) -> <HtmlTextAreaElement as RefFromWasmAbi>::Anchor
[src]
js: <HtmlTextAreaElement as RefFromWasmAbi>::Abi
) -> <HtmlTextAreaElement as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for InputEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<InputEvent>
unsafe fn ref_from_abi(
js: <InputEvent as RefFromWasmAbi>::Abi
) -> <InputEvent as RefFromWasmAbi>::Anchor
[src]
js: <InputEvent as RefFromWasmAbi>::Abi
) -> <InputEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Location
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Location>
unsafe fn ref_from_abi(
js: <Location as RefFromWasmAbi>::Abi
) -> <Location as RefFromWasmAbi>::Anchor
[src]
js: <Location as RefFromWasmAbi>::Abi
) -> <Location as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Node
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Node>
unsafe fn ref_from_abi(
js: <Node as RefFromWasmAbi>::Abi
) -> <Node as RefFromWasmAbi>::Anchor
[src]
js: <Node as RefFromWasmAbi>::Abi
) -> <Node as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for NodeList
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<NodeList>
unsafe fn ref_from_abi(
js: <NodeList as RefFromWasmAbi>::Abi
) -> <NodeList as RefFromWasmAbi>::Anchor
[src]
js: <NodeList as RefFromWasmAbi>::Abi
) -> <NodeList as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Performance
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Performance>
unsafe fn ref_from_abi(
js: <Performance as RefFromWasmAbi>::Abi
) -> <Performance as RefFromWasmAbi>::Anchor
[src]
js: <Performance as RefFromWasmAbi>::Abi
) -> <Performance as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Response
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Response>
unsafe fn ref_from_abi(
js: <Response as RefFromWasmAbi>::Abi
) -> <Response as RefFromWasmAbi>::Anchor
[src]
js: <Response as RefFromWasmAbi>::Abi
) -> <Response as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for ScrollToOptions
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<ScrollToOptions>
unsafe fn ref_from_abi(
js: <ScrollToOptions as RefFromWasmAbi>::Abi
) -> <ScrollToOptions as RefFromWasmAbi>::Anchor
[src]
js: <ScrollToOptions as RefFromWasmAbi>::Abi
) -> <ScrollToOptions as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Text
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Text>
unsafe fn ref_from_abi(
js: <Text as RefFromWasmAbi>::Abi
) -> <Text as RefFromWasmAbi>::Anchor
[src]
js: <Text as RefFromWasmAbi>::Abi
) -> <Text as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for UiEvent
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<UiEvent>
unsafe fn ref_from_abi(
js: <UiEvent as RefFromWasmAbi>::Abi
) -> <UiEvent as RefFromWasmAbi>::Anchor
[src]
js: <UiEvent as RefFromWasmAbi>::Abi
) -> <UiEvent as RefFromWasmAbi>::Anchor
impl RefFromWasmAbi for Window
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Anchor = ManuallyDrop<Window>
unsafe fn ref_from_abi(
js: <Window as RefFromWasmAbi>::Abi
) -> <Window as RefFromWasmAbi>::Anchor
[src]
js: <Window as RefFromWasmAbi>::Abi
) -> <Window as RefFromWasmAbi>::Anchor