Struct cml_chain_wasm::LegacyRedeemerList
source · pub struct LegacyRedeemerList(/* private fields */);Implementations§
source§impl LegacyRedeemerList
impl LegacyRedeemerList
pub fn add(&mut self, elem: &LegacyRedeemer)
Trait Implementations§
source§impl AsRef<[LegacyRedeemer]> for LegacyRedeemerList
impl AsRef<[LegacyRedeemer]> for LegacyRedeemerList
source§fn as_ref(&self) -> &[LegacyRedeemer]
fn as_ref(&self) -> &[LegacyRedeemer]
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<Vec<LegacyRedeemer>> for LegacyRedeemerList
impl AsRef<Vec<LegacyRedeemer>> for LegacyRedeemerList
source§fn as_ref(&self) -> &Vec<LegacyRedeemer>
fn as_ref(&self) -> &Vec<LegacyRedeemer>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for LegacyRedeemerList
impl Clone for LegacyRedeemerList
source§fn clone(&self) -> LegacyRedeemerList
fn clone(&self) -> LegacyRedeemerList
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 LegacyRedeemerList
impl Debug for LegacyRedeemerList
source§impl From<LegacyRedeemerList> for JsValue
impl From<LegacyRedeemerList> for JsValue
source§fn from(value: LegacyRedeemerList) -> Self
fn from(value: LegacyRedeemerList) -> Self
Converts to this type from the input type.
source§impl From<Vec<LegacyRedeemer>> for LegacyRedeemerList
impl From<Vec<LegacyRedeemer>> for LegacyRedeemerList
source§fn from(native: Vec<LegacyRedeemer>) -> Self
fn from(native: Vec<LegacyRedeemer>) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for LegacyRedeemerList
impl FromWasmAbi for LegacyRedeemerList
source§impl Into<Vec<LegacyRedeemer>> for LegacyRedeemerList
impl Into<Vec<LegacyRedeemer>> for LegacyRedeemerList
source§fn into(self) -> Vec<LegacyRedeemer>
fn into(self) -> Vec<LegacyRedeemer>
Converts this type into the (usually inferred) input type.
source§impl IntoWasmAbi for LegacyRedeemerList
impl IntoWasmAbi for LegacyRedeemerList
source§impl RefFromWasmAbi for LegacyRedeemerList
impl RefFromWasmAbi for LegacyRedeemerList
§type Anchor = Ref<'static, LegacyRedeemerList>
type Anchor = Ref<'static, LegacyRedeemerList>
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.Auto Trait Implementations§
impl Freeze for LegacyRedeemerList
impl RefUnwindSafe for LegacyRedeemerList
impl Send for LegacyRedeemerList
impl Sync for LegacyRedeemerList
impl Unpin for LegacyRedeemerList
impl UnwindSafe for LegacyRedeemerList
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> 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,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§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.