pub struct RedeemerWitnessKey(/* private fields */);Implementations§
Source§impl RedeemerWitnessKey
impl RedeemerWitnessKey
pub fn new(tag: RedeemerTag, index: u64) -> Self
pub fn from_redeemer(redeemer: &LegacyRedeemer) -> Self
Trait Implementations§
Source§impl AsRef<RedeemerWitnessKey> for RedeemerWitnessKey
impl AsRef<RedeemerWitnessKey> for RedeemerWitnessKey
Source§fn as_ref(&self) -> &RedeemerWitnessKey
fn as_ref(&self) -> &RedeemerWitnessKey
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RedeemerWitnessKey
impl Clone for RedeemerWitnessKey
Source§fn clone(&self) -> RedeemerWitnessKey
fn clone(&self) -> RedeemerWitnessKey
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 RedeemerWitnessKey
impl Debug for RedeemerWitnessKey
Source§impl From<RedeemerWitnessKey> for JsValue
impl From<RedeemerWitnessKey> for JsValue
Source§fn from(value: RedeemerWitnessKey) -> Self
fn from(value: RedeemerWitnessKey) -> Self
Converts to this type from the input type.
Source§impl From<RedeemerWitnessKey> for RedeemerWitnessKey
impl From<RedeemerWitnessKey> for RedeemerWitnessKey
Source§fn from(native: RedeemerWitnessKey) -> Self
fn from(native: RedeemerWitnessKey) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for RedeemerWitnessKey
impl FromWasmAbi for RedeemerWitnessKey
Source§impl Hash for RedeemerWitnessKey
impl Hash for RedeemerWitnessKey
Source§impl Into<RedeemerWitnessKey> for RedeemerWitnessKey
impl Into<RedeemerWitnessKey> for RedeemerWitnessKey
Source§fn into(self) -> RedeemerWitnessKey
fn into(self) -> RedeemerWitnessKey
Converts this type into the (usually inferred) input type.
Source§impl IntoWasmAbi for RedeemerWitnessKey
impl IntoWasmAbi for RedeemerWitnessKey
Source§impl Ord for RedeemerWitnessKey
impl Ord for RedeemerWitnessKey
Source§fn cmp(&self, other: &RedeemerWitnessKey) -> Ordering
fn cmp(&self, other: &RedeemerWitnessKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RedeemerWitnessKey
impl PartialEq for RedeemerWitnessKey
Source§impl PartialOrd for RedeemerWitnessKey
impl PartialOrd for RedeemerWitnessKey
Source§impl RefFromWasmAbi for RedeemerWitnessKey
impl RefFromWasmAbi for RedeemerWitnessKey
Source§type Anchor = RcRef<RedeemerWitnessKey>
type Anchor = RcRef<RedeemerWitnessKey>
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 RedeemerWitnessKey
impl TryFromJsValue for RedeemerWitnessKey
Source§impl VectorFromWasmAbi for RedeemerWitnessKey
impl VectorFromWasmAbi for RedeemerWitnessKey
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[RedeemerWitnessKey]>
Source§impl VectorIntoJsValue for RedeemerWitnessKey
impl VectorIntoJsValue for RedeemerWitnessKey
fn vector_into_jsvalue(vector: Box<[RedeemerWitnessKey]>) -> JsValue
Source§impl VectorIntoWasmAbi for RedeemerWitnessKey
impl VectorIntoWasmAbi for RedeemerWitnessKey
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[RedeemerWitnessKey]>) -> Self::Abi
Source§impl WasmDescribeVector for RedeemerWitnessKey
impl WasmDescribeVector for RedeemerWitnessKey
impl Copy for RedeemerWitnessKey
impl Eq for RedeemerWitnessKey
impl StructuralPartialEq for RedeemerWitnessKey
impl SupportsConstructor for RedeemerWitnessKey
impl SupportsInstanceProperty for RedeemerWitnessKey
impl SupportsStaticProperty for RedeemerWitnessKey
Auto Trait Implementations§
impl Freeze for RedeemerWitnessKey
impl RefUnwindSafe for RedeemerWitnessKey
impl Send for RedeemerWitnessKey
impl Sync for RedeemerWitnessKey
impl Unpin for RedeemerWitnessKey
impl UnwindSafe for RedeemerWitnessKey
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::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.