[−][src]Enum wasmtime_jit::RuntimeValue
A runtime value.
Variants
I32(i32)A runtime value with type i32.
I64(i64)A runtime value with type i64.
F32(u32)A runtime value with type f32.
F64(u64)A runtime value with type f64.
Methods
impl RuntimeValue[src]
pub fn value_type(self) -> Type[src]
Return the type of this RuntimeValue.
pub fn unwrap_i32(self) -> i32[src]
Assuming this RuntimeValue holds an i32, return that value.
pub fn unwrap_i64(self) -> i64[src]
Assuming this RuntimeValue holds an i64, return that value.
pub fn unwrap_f32(self) -> f32[src]
Assuming this RuntimeValue holds an f32, return that value.
pub fn unwrap_f32_bits(self) -> u32[src]
Assuming this RuntimeValue holds an f32, return the bits of that value as a u32.
pub fn unwrap_f64(self) -> f64[src]
Assuming this RuntimeValue holds an f64, return that value.
pub fn unwrap_f64_bits(self) -> u64[src]
Assuming this RuntimeValue holds an f64, return the bits of that value as a u64.
Trait Implementations
impl Debug for RuntimeValue[src]
impl Display for RuntimeValue[src]
impl PartialEq<RuntimeValue> for RuntimeValue[src]
fn eq(&self, other: &RuntimeValue) -> bool[src]
fn ne(&self, other: &RuntimeValue) -> bool[src]
impl Eq for RuntimeValue[src]
impl Copy for RuntimeValue[src]
impl Clone for RuntimeValue[src]
fn clone(&self) -> RuntimeValue[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Unpin for RuntimeValue
impl Send for RuntimeValue
impl Sync for RuntimeValue
impl RefUnwindSafe for RuntimeValue
impl UnwindSafe for RuntimeValue
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool[src]
impl<T> Same<T> for T
type Output = T
Should always be Self