pub struct MapTransactionIndexToBabbageAuxiliaryData(/* private fields */);
Implementations§
Source§impl MapTransactionIndexToBabbageAuxiliaryData
impl MapTransactionIndexToBabbageAuxiliaryData
pub fn get(&self, key: TransactionIndex) -> Option<BabbageAuxiliaryData>
pub fn insert( &mut self, key: TransactionIndex, value: &BabbageAuxiliaryData, ) -> Option<BabbageAuxiliaryData>
Trait Implementations§
Source§impl AsRef<OrderedHashMap<u16, BabbageAuxiliaryData>> for MapTransactionIndexToBabbageAuxiliaryData
impl AsRef<OrderedHashMap<u16, BabbageAuxiliaryData>> for MapTransactionIndexToBabbageAuxiliaryData
Source§fn as_ref(&self) -> &OrderedHashMap<TransactionIndex, BabbageAuxiliaryData>
fn as_ref(&self) -> &OrderedHashMap<TransactionIndex, BabbageAuxiliaryData>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for MapTransactionIndexToBabbageAuxiliaryData
impl Clone for MapTransactionIndexToBabbageAuxiliaryData
Source§fn clone(&self) -> MapTransactionIndexToBabbageAuxiliaryData
fn clone(&self) -> MapTransactionIndexToBabbageAuxiliaryData
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 From<MapTransactionIndexToBabbageAuxiliaryData> for JsValue
impl From<MapTransactionIndexToBabbageAuxiliaryData> for JsValue
Source§fn from(value: MapTransactionIndexToBabbageAuxiliaryData) -> Self
fn from(value: MapTransactionIndexToBabbageAuxiliaryData) -> Self
Converts to this type from the input type.
Source§impl From<OrderedHashMap<u16, BabbageAuxiliaryData>> for MapTransactionIndexToBabbageAuxiliaryData
impl From<OrderedHashMap<u16, BabbageAuxiliaryData>> for MapTransactionIndexToBabbageAuxiliaryData
Source§fn from(native: OrderedHashMap<TransactionIndex, BabbageAuxiliaryData>) -> Self
fn from(native: OrderedHashMap<TransactionIndex, BabbageAuxiliaryData>) -> Self
Converts to this type from the input type.
Source§impl Into<OrderedHashMap<u16, BabbageAuxiliaryData>> for MapTransactionIndexToBabbageAuxiliaryData
impl Into<OrderedHashMap<u16, BabbageAuxiliaryData>> for MapTransactionIndexToBabbageAuxiliaryData
Source§fn into(self) -> OrderedHashMap<TransactionIndex, BabbageAuxiliaryData>
fn into(self) -> OrderedHashMap<TransactionIndex, BabbageAuxiliaryData>
Converts this type into the (usually inferred) input type.
Source§impl RefFromWasmAbi for MapTransactionIndexToBabbageAuxiliaryData
impl RefFromWasmAbi for MapTransactionIndexToBabbageAuxiliaryData
Source§type Anchor = RcRef<MapTransactionIndexToBabbageAuxiliaryData>
type Anchor = RcRef<MapTransactionIndexToBabbageAuxiliaryData>
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 VectorFromWasmAbi for MapTransactionIndexToBabbageAuxiliaryData
impl VectorFromWasmAbi for MapTransactionIndexToBabbageAuxiliaryData
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: Self::Abi, ) -> Box<[MapTransactionIndexToBabbageAuxiliaryData]>
Source§impl VectorIntoJsValue for MapTransactionIndexToBabbageAuxiliaryData
impl VectorIntoJsValue for MapTransactionIndexToBabbageAuxiliaryData
fn vector_into_jsvalue( vector: Box<[MapTransactionIndexToBabbageAuxiliaryData]>, ) -> JsValue
Source§impl VectorIntoWasmAbi for MapTransactionIndexToBabbageAuxiliaryData
impl VectorIntoWasmAbi for MapTransactionIndexToBabbageAuxiliaryData
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[MapTransactionIndexToBabbageAuxiliaryData]>, ) -> Self::Abi
Source§impl WasmDescribeVector for MapTransactionIndexToBabbageAuxiliaryData
impl WasmDescribeVector for MapTransactionIndexToBabbageAuxiliaryData
impl SupportsConstructor for MapTransactionIndexToBabbageAuxiliaryData
impl SupportsInstanceProperty for MapTransactionIndexToBabbageAuxiliaryData
impl SupportsStaticProperty for MapTransactionIndexToBabbageAuxiliaryData
Auto Trait Implementations§
impl Freeze for MapTransactionIndexToBabbageAuxiliaryData
impl RefUnwindSafe for MapTransactionIndexToBabbageAuxiliaryData
impl Send for MapTransactionIndexToBabbageAuxiliaryData
impl Sync for MapTransactionIndexToBabbageAuxiliaryData
impl Unpin for MapTransactionIndexToBabbageAuxiliaryData
impl UnwindSafe for MapTransactionIndexToBabbageAuxiliaryData
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
.