Enum wasmi::ValueType [−][src]
pub enum ValueType { I32, I64, F32, F64, }
Type of a value.
See RuntimeValue
for details.
Variants
I32
32-bit signed or unsigned integer.
I64
64-bit signed or unsigned integer.
F32
32-bit IEEE 754-2008 floating point number.
F64
64-bit IEEE 754-2008 floating point number.
Trait Implementations
impl Copy for ValueType
[src]
impl Copy for ValueType
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 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 Eq for ValueType
[src]
impl Eq for ValueType