[−][src]Enum substrate_primitives::sandbox::TypedValue
Representation of a typed wasm value.
Variants
I32(i32)Value of 32-bit signed or unsigned integer.
I64(i64)Value of 64-bit signed or unsigned integer.
F32(i32)Value of 32-bit IEEE 754-2008 floating point number represented as a bit pattern.
F64(i64)Value of 64-bit IEEE 754-2008 floating point number represented as a bit pattern.
Methods
impl TypedValue[src]
Trait Implementations
impl Clone for TypedValue[src]
fn clone(&self) -> TypedValue[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<TypedValue> for TypedValue[src]
fn eq(&self, other: &TypedValue) -> bool[src]
fn ne(&self, other: &TypedValue) -> bool[src]
impl From<RuntimeValue> for TypedValue[src]
fn from(val: RuntimeValue) -> TypedValue[src]
impl From<TypedValue> for RuntimeValue[src]
fn from(val: TypedValue) -> RuntimeValue[src]
impl From<TypedValue> for ReturnValue[src]
fn from(v: TypedValue) -> ReturnValue[src]
impl Copy for TypedValue[src]
impl Debug for TypedValue[src]
impl Encode for TypedValue[src]
fn encode_to<EncOut: Output>(&self, dest: &mut EncOut)[src]
fn encode(&self) -> Vec<u8>[src]
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R, [src]
F: FnOnce(&[u8]) -> R,
impl Decode for TypedValue[src]
Auto Trait Implementations
impl Send for TypedValue
impl Unpin for TypedValue
impl Sync for TypedValue
impl UnwindSafe for TypedValue
impl RefUnwindSafe for TypedValue
Blanket Implementations
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]
T: UncheckedFrom<S>,
fn unchecked_into(Self) -> T[src]
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<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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> 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> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<S> Codec for S where
S: Encode + Decode, [src]
S: Encode + Decode,
impl<T> KeyedVec for T where
T: Codec, [src]
T: Codec,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> MaybeDebug for T where
T: Debug, [src]
T: Debug,