Struct parity_wasm::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 VarInt32fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for VarInt32[src]
impl Copy for VarInt32impl Clone for VarInt32[src]
impl Clone for VarInt32fn clone(&self) -> VarInt32[src]
fn clone(&self) -> VarInt32Returns 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 VarInt32fn eq(&self, other: &VarInt32) -> bool[src]
fn eq(&self, other: &VarInt32) -> boolThis 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) -> boolThis method tests for !=.
impl From<VarInt32> for i32[src]
impl From<VarInt32> for i32impl From<i32> for VarInt32[src]
impl From<i32> for VarInt32impl Deserialize for VarInt32[src]
impl Deserialize for VarInt32type 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