Struct parity_wasm_cp::elements::CountedListWriter [−][src]
pub struct CountedListWriter<I: Serialize<Error = Error>, T: IntoIterator<Item = I>>(pub usize, pub T);
Helper struct to write series of T
preceded by the length of the sequence
serialized as VarUint32
Trait Implementations
impl<I: Debug + Serialize<Error = Error>, T: Debug + IntoIterator<Item = I>> Debug for CountedListWriter<I, T>
[src]
impl<I: Debug + Serialize<Error = Error>, T: Debug + IntoIterator<Item = I>> Debug for CountedListWriter<I, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I: Clone + Serialize<Error = Error>, T: Clone + IntoIterator<Item = I>> Clone for CountedListWriter<I, T>
[src]
impl<I: Clone + Serialize<Error = Error>, T: Clone + IntoIterator<Item = I>> Clone for CountedListWriter<I, T>
fn clone(&self) -> CountedListWriter<I, T>
[src]
fn clone(&self) -> CountedListWriter<I, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<I: Serialize<Error = Error>, T: IntoIterator<Item = I>> Serialize for CountedListWriter<I, T>
[src]
impl<I: Serialize<Error = Error>, T: IntoIterator<Item = I>> Serialize for CountedListWriter<I, T>
Auto Trait Implementations
impl<I, T> Send for CountedListWriter<I, T> where
T: Send,
impl<I, T> Send for CountedListWriter<I, T> where
T: Send,
impl<I, T> Sync for CountedListWriter<I, T> where
T: Sync,
impl<I, T> Sync for CountedListWriter<I, T> where
T: Sync,