pub struct JsNoncedBundle { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl From<JsNoncedBundle> for JsValue
impl From<JsNoncedBundle> for JsValue
Source§fn from(value: JsNoncedBundle) -> JsValue
fn from(value: JsNoncedBundle) -> JsValue
Converts to this type from the input type.
Source§impl From<NoncedBundle> for JsNoncedBundle
impl From<NoncedBundle> for JsNoncedBundle
Source§fn from(inner: NoncedBundle) -> JsNoncedBundle
fn from(inner: NoncedBundle) -> JsNoncedBundle
Converts to this type from the input type.
Source§impl FromWasmAbi for JsNoncedBundle
impl FromWasmAbi for JsNoncedBundle
Source§impl IntoWasmAbi for JsNoncedBundle
impl IntoWasmAbi for JsNoncedBundle
Source§impl LongRefFromWasmAbi for JsNoncedBundle
impl LongRefFromWasmAbi for JsNoncedBundle
Source§type Anchor = RcRef<JsNoncedBundle>
type Anchor = RcRef<JsNoncedBundle>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn long_ref_from_abi(
js: <JsNoncedBundle as LongRefFromWasmAbi>::Abi,
) -> <JsNoncedBundle as LongRefFromWasmAbi>::Anchor
unsafe fn long_ref_from_abi( js: <JsNoncedBundle as LongRefFromWasmAbi>::Abi, ) -> <JsNoncedBundle as LongRefFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl OptionFromWasmAbi for JsNoncedBundle
impl OptionFromWasmAbi for JsNoncedBundle
Source§fn is_none(abi: &<JsNoncedBundle as FromWasmAbi>::Abi) -> bool
fn is_none(abi: &<JsNoncedBundle as FromWasmAbi>::Abi) -> bool
Tests whether the argument is a “none” instance. If so it will be
deserialized as
None
, and otherwise it will be passed to
FromWasmAbi
.Source§impl OptionIntoWasmAbi for JsNoncedBundle
impl OptionIntoWasmAbi for JsNoncedBundle
Source§fn none() -> <JsNoncedBundle as IntoWasmAbi>::Abi
fn none() -> <JsNoncedBundle as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None
branch of this option. Read moreSource§impl RefFromWasmAbi for JsNoncedBundle
impl RefFromWasmAbi for JsNoncedBundle
Source§type Anchor = RcRef<JsNoncedBundle>
type Anchor = RcRef<JsNoncedBundle>
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.Source§unsafe fn ref_from_abi(
js: <JsNoncedBundle as RefFromWasmAbi>::Abi,
) -> <JsNoncedBundle as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <JsNoncedBundle as RefFromWasmAbi>::Abi, ) -> <JsNoncedBundle as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for JsNoncedBundle
impl RefMutFromWasmAbi for JsNoncedBundle
Source§type Anchor = RcRefMut<JsNoncedBundle>
type Anchor = RcRefMut<JsNoncedBundle>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn ref_mut_from_abi(
js: <JsNoncedBundle as RefMutFromWasmAbi>::Abi,
) -> <JsNoncedBundle as RefMutFromWasmAbi>::Anchor
unsafe fn ref_mut_from_abi( js: <JsNoncedBundle as RefMutFromWasmAbi>::Abi, ) -> <JsNoncedBundle as RefMutFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl TryFromJsValue for JsNoncedBundle
impl TryFromJsValue for JsNoncedBundle
Source§fn try_from_js_value(
value: JsValue,
) -> Result<JsNoncedBundle, <JsNoncedBundle as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<JsNoncedBundle, <JsNoncedBundle as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for JsNoncedBundle
impl VectorFromWasmAbi for JsNoncedBundle
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <JsNoncedBundle as VectorFromWasmAbi>::Abi, ) -> Box<[JsNoncedBundle]>
Source§impl VectorIntoWasmAbi for JsNoncedBundle
impl VectorIntoWasmAbi for JsNoncedBundle
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[JsNoncedBundle]>, ) -> <JsNoncedBundle as VectorIntoWasmAbi>::Abi
Source§impl Wraps<NoncedBundle> for JsNoncedBundle
impl Wraps<NoncedBundle> for JsNoncedBundle
Source§fn inner(&self) -> &NoncedBundle
fn inner(&self) -> &NoncedBundle
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations§
impl Freeze for JsNoncedBundle
impl RefUnwindSafe for JsNoncedBundle
impl Send for JsNoncedBundle
impl Sync for JsNoncedBundle
impl Unpin for JsNoncedBundle
impl UnwindSafe for JsNoncedBundle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.