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