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