Struct parity_wasm_cp::elements::CountedList [−][src]
pub struct CountedList<T: Deserialize>(_);
List for reading sequence of elements typed T
, given
they are preceded by length (serialized as VarUint32)
Methods
impl<T: Deserialize> CountedList<T>
[src]
impl<T: Deserialize> CountedList<T>
pub fn into_inner(self) -> Vec<T>
[src]
pub fn into_inner(self) -> Vec<T>
Destroy counted list returing inner vector.
Trait Implementations
impl<T: Debug + Deserialize> Debug for CountedList<T>
[src]
impl<T: Debug + Deserialize> Debug for CountedList<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<T: Clone + Deserialize> Clone for CountedList<T>
[src]
impl<T: Clone + Deserialize> Clone for CountedList<T>
fn clone(&self) -> CountedList<T>
[src]
fn clone(&self) -> CountedList<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<T: Deserialize> Deserialize for CountedList<T> where
T::Error: From<Error>,
[src]
impl<T: Deserialize> Deserialize for CountedList<T> where
T::Error: From<Error>,
Auto Trait Implementations
impl<T> Send for CountedList<T> where
T: Send,
impl<T> Send for CountedList<T> where
T: Send,
impl<T> Sync for CountedList<T> where
T: Sync,
impl<T> Sync for CountedList<T> where
T: Sync,