Struct cardano_multiplatform_lib::AssetNameList
source · pub struct AssetNameList(/* private fields */);
Implementations§
Trait Implementations§
source§impl AsRef<Vec<AssetName>> for AssetNameList
impl AsRef<Vec<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 From<Vec<AssetName>> for AssetNameList
impl From<Vec<AssetName>> for AssetNameList
source§fn from(native: Vec<AssetName>) -> AssetNameList
fn from(native: Vec<AssetName>) -> AssetNameList
Converts to this type from the input type.
source§impl FromWasmAbi for AssetNameList
impl FromWasmAbi for AssetNameList
source§impl Into<Vec<AssetName>> for AssetNameList
impl Into<Vec<AssetName>> for AssetNameList
source§impl IntoWasmAbi for AssetNameList
impl IntoWasmAbi for AssetNameList
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
§type Anchor = Ref<'static, AssetNameList>
type Anchor = Ref<'static, 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
§type Anchor = RefMut<'static, AssetNameList>
type Anchor = RefMut<'static, 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
Auto Trait Implementations§
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§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
.