pub struct GovActionIdList(/* private fields */);
Implementations§
Source§impl GovActionIdList
impl GovActionIdList
pub fn add(&mut self, elem: &GovActionId)
Trait Implementations§
Source§impl AsRef<[GovActionId]> for GovActionIdList
impl AsRef<[GovActionId]> for GovActionIdList
Source§fn as_ref(&self) -> &[GovActionId]
fn as_ref(&self) -> &[GovActionId]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<Vec<GovActionId>> for GovActionIdList
impl AsRef<Vec<GovActionId>> for GovActionIdList
Source§fn as_ref(&self) -> &Vec<GovActionId>
fn as_ref(&self) -> &Vec<GovActionId>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GovActionIdList
impl Clone for GovActionIdList
Source§fn clone(&self) -> GovActionIdList
fn clone(&self) -> GovActionIdList
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 GovActionIdList
impl Debug for GovActionIdList
Source§impl From<GovActionIdList> for JsValue
impl From<GovActionIdList> for JsValue
Source§fn from(value: GovActionIdList) -> Self
fn from(value: GovActionIdList) -> Self
Converts to this type from the input type.
Source§impl From<Vec<GovActionId>> for GovActionIdList
impl From<Vec<GovActionId>> for GovActionIdList
Source§fn from(native: Vec<GovActionId>) -> Self
fn from(native: Vec<GovActionId>) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for GovActionIdList
impl FromWasmAbi for GovActionIdList
Source§impl Into<Vec<GovActionId>> for GovActionIdList
impl Into<Vec<GovActionId>> for GovActionIdList
Source§fn into(self) -> Vec<GovActionId>
fn into(self) -> Vec<GovActionId>
Converts this type into the (usually inferred) input type.
Source§impl IntoWasmAbi for GovActionIdList
impl IntoWasmAbi for GovActionIdList
Source§impl LongRefFromWasmAbi for GovActionIdList
impl LongRefFromWasmAbi for GovActionIdList
Source§impl OptionFromWasmAbi for GovActionIdList
impl OptionFromWasmAbi for GovActionIdList
Source§impl OptionIntoWasmAbi for GovActionIdList
impl OptionIntoWasmAbi for GovActionIdList
Source§impl RefFromWasmAbi for GovActionIdList
impl RefFromWasmAbi for GovActionIdList
Source§type Anchor = RcRef<GovActionIdList>
type Anchor = RcRef<GovActionIdList>
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 RefMutFromWasmAbi for GovActionIdList
impl RefMutFromWasmAbi for GovActionIdList
Source§impl TryFromJsValue for GovActionIdList
impl TryFromJsValue for GovActionIdList
Source§impl VectorFromWasmAbi for GovActionIdList
impl VectorFromWasmAbi for GovActionIdList
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[GovActionIdList]>
Source§impl VectorIntoJsValue for GovActionIdList
impl VectorIntoJsValue for GovActionIdList
fn vector_into_jsvalue(vector: Box<[GovActionIdList]>) -> JsValue
Source§impl VectorIntoWasmAbi for GovActionIdList
impl VectorIntoWasmAbi for GovActionIdList
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[GovActionIdList]>) -> Self::Abi
Source§impl WasmDescribeVector for GovActionIdList
impl WasmDescribeVector for GovActionIdList
impl SupportsConstructor for GovActionIdList
impl SupportsInstanceProperty for GovActionIdList
impl SupportsStaticProperty for GovActionIdList
Auto Trait Implementations§
impl Freeze for GovActionIdList
impl RefUnwindSafe for GovActionIdList
impl Send for GovActionIdList
impl Sync for GovActionIdList
impl Unpin for GovActionIdList
impl UnwindSafe for GovActionIdList
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
.