Struct parity_wasm_cp::elements::VarUint7 [−][src]
pub struct VarUint7(_);
7-bit unsigned integer, encoded in LEB128 (always 1 byte length)
Trait Implementations
impl Debug for VarUint7
[src]
impl Debug for VarUint7
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 VarUint7
[src]
impl Copy for VarUint7
impl Clone for VarUint7
[src]
impl Clone for VarUint7
fn clone(&self) -> VarUint7
[src]
fn clone(&self) -> VarUint7
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 VarUint7
[src]
impl PartialEq for VarUint7
fn eq(&self, other: &VarUint7) -> bool
[src]
fn eq(&self, other: &VarUint7) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VarUint7) -> bool
[src]
fn ne(&self, other: &VarUint7) -> bool
This method tests for !=
.
impl From<VarUint7> for u8
[src]
impl From<VarUint7> for u8
impl From<u8> for VarUint7
[src]
impl From<u8> for VarUint7
impl Deserialize for VarUint7
[src]
impl Deserialize for VarUint7
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 VarUint7
[src]
impl Serialize for VarUint7