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