pub struct JsCoeusAsset { /* private fields */ }
Implementations§
Source§impl JsCoeusAsset
impl JsCoeusAsset
Trait Implementations§
Source§impl From<CoeusAsset> for JsCoeusAsset
impl From<CoeusAsset> for JsCoeusAsset
Source§fn from(inner: CoeusAsset) -> JsCoeusAsset
fn from(inner: CoeusAsset) -> JsCoeusAsset
Converts to this type from the input type.
Source§impl From<JsCoeusAsset> for JsValue
impl From<JsCoeusAsset> for JsValue
Source§fn from(value: JsCoeusAsset) -> JsValue
fn from(value: JsCoeusAsset) -> JsValue
Converts to this type from the input type.
Source§impl FromWasmAbi for JsCoeusAsset
impl FromWasmAbi for JsCoeusAsset
Source§impl IntoWasmAbi for JsCoeusAsset
impl IntoWasmAbi for JsCoeusAsset
Source§impl LongRefFromWasmAbi for JsCoeusAsset
impl LongRefFromWasmAbi for JsCoeusAsset
Source§type Anchor = RcRef<JsCoeusAsset>
type Anchor = RcRef<JsCoeusAsset>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn long_ref_from_abi(
js: <JsCoeusAsset as LongRefFromWasmAbi>::Abi,
) -> <JsCoeusAsset as LongRefFromWasmAbi>::Anchor
unsafe fn long_ref_from_abi( js: <JsCoeusAsset as LongRefFromWasmAbi>::Abi, ) -> <JsCoeusAsset as LongRefFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl OptionFromWasmAbi for JsCoeusAsset
impl OptionFromWasmAbi for JsCoeusAsset
Source§fn is_none(abi: &<JsCoeusAsset as FromWasmAbi>::Abi) -> bool
fn is_none(abi: &<JsCoeusAsset 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 JsCoeusAsset
impl OptionIntoWasmAbi for JsCoeusAsset
Source§fn none() -> <JsCoeusAsset as IntoWasmAbi>::Abi
fn none() -> <JsCoeusAsset 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 JsCoeusAsset
impl RefFromWasmAbi for JsCoeusAsset
Source§type Anchor = RcRef<JsCoeusAsset>
type Anchor = RcRef<JsCoeusAsset>
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: <JsCoeusAsset as RefFromWasmAbi>::Abi,
) -> <JsCoeusAsset as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <JsCoeusAsset as RefFromWasmAbi>::Abi, ) -> <JsCoeusAsset as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for JsCoeusAsset
impl RefMutFromWasmAbi for JsCoeusAsset
Source§type Anchor = RcRefMut<JsCoeusAsset>
type Anchor = RcRefMut<JsCoeusAsset>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn ref_mut_from_abi(
js: <JsCoeusAsset as RefMutFromWasmAbi>::Abi,
) -> <JsCoeusAsset as RefMutFromWasmAbi>::Anchor
unsafe fn ref_mut_from_abi( js: <JsCoeusAsset as RefMutFromWasmAbi>::Abi, ) -> <JsCoeusAsset as RefMutFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl TryFromJsValue for JsCoeusAsset
impl TryFromJsValue for JsCoeusAsset
Source§fn try_from_js_value(
value: JsValue,
) -> Result<JsCoeusAsset, <JsCoeusAsset as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<JsCoeusAsset, <JsCoeusAsset as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for JsCoeusAsset
impl VectorFromWasmAbi for JsCoeusAsset
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <JsCoeusAsset as VectorFromWasmAbi>::Abi, ) -> Box<[JsCoeusAsset]>
Source§impl VectorIntoWasmAbi for JsCoeusAsset
impl VectorIntoWasmAbi for JsCoeusAsset
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[JsCoeusAsset]>, ) -> <JsCoeusAsset as VectorIntoWasmAbi>::Abi
Source§impl Wraps<CoeusAsset> for JsCoeusAsset
impl Wraps<CoeusAsset> for JsCoeusAsset
Source§fn inner(&self) -> &CoeusAsset
fn inner(&self) -> &CoeusAsset
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations§
impl Freeze for JsCoeusAsset
impl RefUnwindSafe for JsCoeusAsset
impl Send for JsCoeusAsset
impl Sync for JsCoeusAsset
impl Unpin for JsCoeusAsset
impl UnwindSafe for JsCoeusAsset
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
.