Enum parity_wasm::elements::ValueType [−][src]
pub enum ValueType {
I32,
I64,
F32,
F64,
}Value type.
Variants
I3232-bit signed integer
I6464-bit signed integer
F3232-bit float
F6464-bit float
Trait Implementations
impl Clone for ValueType[src]
impl Clone for ValueTypefn clone(&self) -> ValueType[src]
fn clone(&self) -> ValueTypeReturns 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 Copy for ValueType[src]
impl Copy for ValueTypeimpl Debug for ValueType[src]
impl Debug for ValueTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ValueType[src]
impl PartialEq for ValueTypefn eq(&self, other: &ValueType) -> bool[src]
fn eq(&self, other: &ValueType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Deserialize for ValueType[src]
impl Deserialize for ValueTypetype 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 ValueType[src]
impl Serialize for ValueTypetype Error = Error
Serialization error produced by serialization routine.
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>[src]
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>Serialize type to serial i/o
impl Display for ValueType[src]
impl Display for ValueType