Struct protocol::DynArray
[−]
[src]
pub struct DynArray<S: Integer, T: Parcel> { pub elements: Vec<T>, // some fields omitted }
An dynamic array type with a custom size prefix type.
Fields
elements: Vec<T>
Methods
impl<S: Integer, T: Parcel> DynArray<S, T>
[src]
Trait Implementations
impl<S: Clone + Integer, T: Clone + Parcel> Clone for DynArray<S, T>
[src]
fn clone(&self) -> DynArray<S, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<S: Debug + Integer, T: Debug + Parcel> Debug for DynArray<S, T>
[src]
impl<S: PartialEq + Integer, T: PartialEq + Parcel> PartialEq for DynArray<S, T>
[src]
fn eq(&self, __arg_0: &DynArray<S, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DynArray<S, T>) -> bool
This method tests for !=
.