Struct dharitri_wasm::types::ManagedCountedMultiResultVec
source · pub struct ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,{ /* 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<M>,
impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
source§impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
source§impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
impl<M, T> ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
pub fn push(&mut self, item: T)
pub fn into_vec(self) -> ManagedVec<M, T>
Trait Implementations§
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> 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> 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>
source§impl<M, T> From<ManagedVec<M, T>> for ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
impl<M, T> From<ManagedVec<M, T>> for ManagedCountedMultiResultVec<M, T>where
M: ManagedTypeApi,
T: ManagedVecItem<M>,
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