Enum parity_wasm::elements::ValueType [−][src]
pub enum ValueType { I32, I64, F32, F64, }
Value type.
Variants
I32
32-bit signed integer
I64
64-bit signed integer
F32
32-bit float
F64
64-bit float
Trait Implementations
impl Clone for ValueType
[src]
impl Clone for ValueType
fn clone(&self) -> ValueType
[src]
fn clone(&self) -> ValueType
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 Copy for ValueType
[src]
impl Copy for ValueType
impl Debug for ValueType
[src]
impl Debug for ValueType
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 PartialEq for ValueType
[src]
impl PartialEq for ValueType
fn eq(&self, other: &ValueType) -> bool
[src]
fn eq(&self, other: &ValueType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Deserialize for ValueType
[src]
impl Deserialize for ValueType
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 ValueType
[src]
impl Serialize for ValueType
type 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