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]
fn clone(&self) -> ValueType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ValueType[src]
impl PartialEq for ValueType[src]
fn eq(&self, __arg_0: &ValueType) -> bool[src]
This 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]
This method tests for !=.
impl Debug for ValueType[src]
impl Deserialize for ValueType[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
Deserialize type from serial i/o
impl Serialize for ValueType[src]
type Error = Error
Serialization error produced by serialization routine.
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>[src]
Serialize type to serial i/o
impl Display for ValueType[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more