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