Struct dharitri_wasm::types::ManagedCountedMultiResultVec
source · pub struct ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,{ /* private fields */ }Expand description
Argument or result that is made up of the argument count, followed by the arguments themselves.
Think of it as a VarArgs preceded by the count.
Unlike ManagedMultiResultVec it deserializes eagerly.
Implementations§
source§impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
source§impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
source§impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
pub fn push(&mut self, item: T)
pub fn into_vec(self) -> ManagedVec<M, T>
Trait Implementations§
source§impl<M, T> Clone for ManagedCountedMultiResultVec<M, T>
impl<M, T> Clone for ManagedCountedMultiResultVec<M, T>
source§fn clone(&self) -> ManagedCountedMultiResultVec<M, T>
fn clone(&self) -> ManagedCountedMultiResultVec<M, T>
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<M, T> ContractCallArg for &ManagedCountedMultiResultVec<M, T>
impl<M, T> ContractCallArg for &ManagedCountedMultiResultVec<M, T>
fn push_dyn_arg<O: DynArgOutput>(&self, output: &mut O)
source§impl<M, T> ContractCallArg for ManagedCountedMultiResultVec<M, T>
impl<M, T> ContractCallArg for ManagedCountedMultiResultVec<M, T>
fn push_dyn_arg<O: DynArgOutput>(&self, output: &mut O)
source§impl<M, T> Default for ManagedCountedMultiResultVec<M, T>
impl<M, T> Default for ManagedCountedMultiResultVec<M, T>
source§fn default() -> ManagedCountedMultiResultVec<M, T>
fn default() -> ManagedCountedMultiResultVec<M, T>
Returns the “default value” for a type. Read more
source§impl<M, T> DynArg for ManagedCountedMultiResultVec<M, T>
impl<M, T> DynArg for ManagedCountedMultiResultVec<M, T>
source§impl<M, T> EndpointResult for ManagedCountedMultiResultVec<M, T>
impl<M, T> EndpointResult for ManagedCountedMultiResultVec<M, T>
§type DecodeAs = ManagedCountedMultiResultVec<M, T>
type DecodeAs = ManagedCountedMultiResultVec<M, T>
Indicates how the result of the endpoint can be interpreted when called via proxy.
Self for most types.fn finish<FA>(&self)where
FA: ManagedTypeApi + EndpointFinishApi,
source§impl<M, T> From<ManagedVec<M, T>> for ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
impl<M, T> From<ManagedVec<M, T>> for ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem,
source§fn from(v: ManagedVec<M, T>) -> Self
fn from(v: ManagedVec<M, T>) -> Self
Converts to this type from the input type.
source§impl<M, T> TypeAbi for ManagedCountedMultiResultVec<M, T>
impl<M, T> TypeAbi for ManagedCountedMultiResultVec<M, T>
fn type_name() -> String
source§fn provide_type_descriptions<TDC: TypeDescriptionContainer>(
accumulator: &mut TDC
)
fn provide_type_descriptions<TDC: TypeDescriptionContainer>( accumulator: &mut TDC )
A type can provide more than its own description.
For instance, a struct can also provide the descriptions of the type of its fields.
TypeAbi doesn’t care for the exact accumulator type,
which is abstracted by the TypeDescriptionContainer trait.
Auto Trait Implementations§
impl<M, T> RefUnwindSafe for ManagedCountedMultiResultVec<M, T>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<M, T> Send for ManagedCountedMultiResultVec<M, T>
impl<M, T> Sync for ManagedCountedMultiResultVec<M, T>
impl<M, T> Unpin for ManagedCountedMultiResultVec<M, T>
impl<M, T> UnwindSafe for ManagedCountedMultiResultVec<M, T>where
M: UnwindSafe,
T: UnwindSafe,
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