pub struct AssetNameList(/* private fields */);
Implementations§
Source§impl AssetNameList
impl AssetNameList
Trait Implementations§
Source§impl AsRef<[AssetName]> for AssetNameList
impl AsRef<[AssetName]> for AssetNameList
Source§impl Clone for AssetNameList
impl Clone for AssetNameList
Source§fn clone(&self) -> AssetNameList
fn clone(&self) -> AssetNameList
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AssetNameList
impl Debug for AssetNameList
Source§impl From<AssetNameList> for JsValue
impl From<AssetNameList> for JsValue
Source§fn from(value: AssetNameList) -> JsValue
fn from(value: AssetNameList) -> JsValue
Converts to this type from the input type.
Source§impl FromWasmAbi for AssetNameList
impl FromWasmAbi for AssetNameList
Source§impl IntoWasmAbi for AssetNameList
impl IntoWasmAbi for AssetNameList
Source§impl LongRefFromWasmAbi for AssetNameList
impl LongRefFromWasmAbi for AssetNameList
Source§type Anchor = RcRef<AssetNameList>
type Anchor = RcRef<AssetNameList>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn long_ref_from_abi(
js: <AssetNameList as LongRefFromWasmAbi>::Abi,
) -> <AssetNameList as LongRefFromWasmAbi>::Anchor
unsafe fn long_ref_from_abi( js: <AssetNameList as LongRefFromWasmAbi>::Abi, ) -> <AssetNameList as LongRefFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl OptionFromWasmAbi for AssetNameList
impl OptionFromWasmAbi for AssetNameList
Source§fn is_none(abi: &<AssetNameList as FromWasmAbi>::Abi) -> bool
fn is_none(abi: &<AssetNameList 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 AssetNameList
impl OptionIntoWasmAbi for AssetNameList
Source§fn none() -> <AssetNameList as IntoWasmAbi>::Abi
fn none() -> <AssetNameList 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 AssetNameList
impl RefFromWasmAbi for AssetNameList
Source§type Anchor = RcRef<AssetNameList>
type Anchor = RcRef<AssetNameList>
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: <AssetNameList as RefFromWasmAbi>::Abi,
) -> <AssetNameList as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <AssetNameList as RefFromWasmAbi>::Abi, ) -> <AssetNameList as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for AssetNameList
impl RefMutFromWasmAbi for AssetNameList
Source§type Anchor = RcRefMut<AssetNameList>
type Anchor = RcRefMut<AssetNameList>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn ref_mut_from_abi(
js: <AssetNameList as RefMutFromWasmAbi>::Abi,
) -> <AssetNameList as RefMutFromWasmAbi>::Anchor
unsafe fn ref_mut_from_abi( js: <AssetNameList as RefMutFromWasmAbi>::Abi, ) -> <AssetNameList as RefMutFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl TryFromJsValue for AssetNameList
impl TryFromJsValue for AssetNameList
Source§fn try_from_js_value(
value: JsValue,
) -> Result<AssetNameList, <AssetNameList as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<AssetNameList, <AssetNameList as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for AssetNameList
impl VectorFromWasmAbi for AssetNameList
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <AssetNameList as VectorFromWasmAbi>::Abi, ) -> Box<[AssetNameList]>
Source§impl VectorIntoWasmAbi for AssetNameList
impl VectorIntoWasmAbi for AssetNameList
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[AssetNameList]>, ) -> <AssetNameList as VectorIntoWasmAbi>::Abi
Auto Trait Implementations§
impl Freeze for AssetNameList
impl RefUnwindSafe for AssetNameList
impl Send for AssetNameList
impl Sync for AssetNameList
impl Unpin for AssetNameList
impl UnwindSafe for AssetNameList
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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
.