Struct parity_wasm_cp::elements::VarUint32 [−][src]
pub struct VarUint32(_);
Unsigned variable-length integer, limited to 32 bits, represented by at most 5 bytes that may contain padding 0x80 bytes.
Trait Implementations
impl Debug for VarUint32
[src]
impl Debug for VarUint32
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 Copy for VarUint32
[src]
impl Copy for VarUint32
impl Clone for VarUint32
[src]
impl Clone for VarUint32
fn clone(&self) -> VarUint32
[src]
fn clone(&self) -> VarUint32
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 PartialEq for VarUint32
[src]
impl PartialEq for VarUint32
fn eq(&self, other: &VarUint32) -> bool
[src]
fn eq(&self, other: &VarUint32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VarUint32) -> bool
[src]
fn ne(&self, other: &VarUint32) -> bool
This method tests for !=
.
impl From<VarUint32> for usize
[src]
impl From<VarUint32> for usize
impl From<VarUint32> for u32
[src]
impl From<VarUint32> for u32
impl From<u32> for VarUint32
[src]
impl From<u32> for VarUint32
impl From<usize> for VarUint32
[src]
impl From<usize> for VarUint32
impl Deserialize for VarUint32
[src]
impl Deserialize for VarUint32
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
Deserialize type from serial i/o
impl Serialize for VarUint32
[src]
impl Serialize for VarUint32