pub struct MapAssetNameToCoin(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AsRef<OrderedHashMap<AssetName, u64>> for MapAssetNameToCoin
impl AsRef<OrderedHashMap<AssetName, u64>> for MapAssetNameToCoin
Source§impl Clone for MapAssetNameToCoin
impl Clone for MapAssetNameToCoin
Source§fn clone(&self) -> MapAssetNameToCoin
fn clone(&self) -> MapAssetNameToCoin
Returns a duplicate 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 MapAssetNameToCoin
impl Debug for MapAssetNameToCoin
Source§impl From<MapAssetNameToCoin> for JsValue
impl From<MapAssetNameToCoin> for JsValue
Source§fn from(value: MapAssetNameToCoin) -> Self
fn from(value: MapAssetNameToCoin) -> Self
Converts to this type from the input type.
Source§impl From<OrderedHashMap<AssetName, u64>> for MapAssetNameToCoin
impl From<OrderedHashMap<AssetName, u64>> for MapAssetNameToCoin
Source§impl FromWasmAbi for MapAssetNameToCoin
impl FromWasmAbi for MapAssetNameToCoin
Source§impl Into<OrderedHashMap<AssetName, u64>> for MapAssetNameToCoin
impl Into<OrderedHashMap<AssetName, u64>> for MapAssetNameToCoin
Source§impl IntoWasmAbi for MapAssetNameToCoin
impl IntoWasmAbi for MapAssetNameToCoin
Source§impl RefFromWasmAbi for MapAssetNameToCoin
impl RefFromWasmAbi for MapAssetNameToCoin
Source§type Anchor = RcRef<MapAssetNameToCoin>
type Anchor = RcRef<MapAssetNameToCoin>
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§impl TryFromJsValue for MapAssetNameToCoin
impl TryFromJsValue for MapAssetNameToCoin
Source§impl VectorFromWasmAbi for MapAssetNameToCoin
impl VectorFromWasmAbi for MapAssetNameToCoin
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MapAssetNameToCoin]>
Source§impl VectorIntoJsValue for MapAssetNameToCoin
impl VectorIntoJsValue for MapAssetNameToCoin
fn vector_into_jsvalue(vector: Box<[MapAssetNameToCoin]>) -> JsValue
Source§impl VectorIntoWasmAbi for MapAssetNameToCoin
impl VectorIntoWasmAbi for MapAssetNameToCoin
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MapAssetNameToCoin]>) -> Self::Abi
Source§impl WasmDescribeVector for MapAssetNameToCoin
impl WasmDescribeVector for MapAssetNameToCoin
impl SupportsConstructor for MapAssetNameToCoin
impl SupportsInstanceProperty for MapAssetNameToCoin
impl SupportsStaticProperty for MapAssetNameToCoin
Auto Trait Implementations§
impl Freeze for MapAssetNameToCoin
impl RefUnwindSafe for MapAssetNameToCoin
impl Send for MapAssetNameToCoin
impl Sync for MapAssetNameToCoin
impl Unpin for MapAssetNameToCoin
impl UnwindSafe for MapAssetNameToCoin
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
.