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