Enum wasm_core::value::Value
[−]
[src]
pub enum Value {
Undef,
I32(i32),
I64(i64),
F32(f32),
F64(f64),
}Variants
UndefI32(i32)I64(i64)F32(f32)F64(f64)
Methods
impl Value[src]
pub fn get_i32(&self) -> ExecuteResult<i32>[src]
pub fn get_i64(&self) -> ExecuteResult<i64>[src]
pub fn cast_to_i64(&self) -> i64[src]
pub fn reinterpret_as_i64(&self) -> i64[src]
pub fn reinterpret_from_i64(v: i64, ty: ValType) -> Value[src]
Trait Implementations
impl Copy for Value[src]
impl Clone for Value[src]
fn clone(&self) -> Value[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 Debug for Value[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more