Type Alias ink_env::call::utils::EmptyArgumentList
source · pub type EmptyArgumentList = ArgumentList<ArgumentListEnd, ArgumentListEnd>;
Expand description
An empty argument list.
Aliased Type§
struct EmptyArgumentList { /* private fields */ }
Implementations§
source§impl EmptyArgumentList
impl EmptyArgumentList
sourcepub fn empty() -> EmptyArgumentList
pub fn empty() -> EmptyArgumentList
Creates a new empty argument list.
sourcepub fn push_arg<T>(self, arg: T) -> ArgumentList<Argument<T>, Self>where
T: Encode,
pub fn push_arg<T>(self, arg: T) -> ArgumentList<Argument<T>, Self>where
T: Encode,
Pushes the first argument to the empty argument list.
Trait Implementations§
source§impl Encode for EmptyArgumentList
impl Encode for EmptyArgumentList
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn encode_to<O: Output + ?Sized>(&self, _output: &mut O)
fn encode_to<O: Output + ?Sized>(&self, _output: &mut O)
Convert self to a slice and append it to the destination.
§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more