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