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