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 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 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
Source§type Anchor = RcRef<LegacyRedeemerList>
type Anchor = RcRef<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.Source§impl TryFromJsValue for LegacyRedeemerList
impl TryFromJsValue for LegacyRedeemerList
Source§impl VectorFromWasmAbi for LegacyRedeemerList
impl VectorFromWasmAbi for LegacyRedeemerList
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[LegacyRedeemerList]>
Source§impl VectorIntoJsValue for LegacyRedeemerList
impl VectorIntoJsValue for LegacyRedeemerList
fn vector_into_jsvalue(vector: Box<[LegacyRedeemerList]>) -> JsValue
Source§impl VectorIntoWasmAbi for LegacyRedeemerList
impl VectorIntoWasmAbi for LegacyRedeemerList
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[LegacyRedeemerList]>) -> Self::Abi
Source§impl WasmDescribeVector for LegacyRedeemerList
impl WasmDescribeVector for LegacyRedeemerList
impl SupportsConstructor for LegacyRedeemerList
impl SupportsInstanceProperty for LegacyRedeemerList
impl SupportsStaticProperty for LegacyRedeemerList
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> 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
.