Enum sp_wasm_interface::ValueType
source · pub enum ValueType {
I32,
I64,
F32,
F64,
}
Expand description
Value types supported by Substrate on the boundary between host/Wasm.
Variants§
Trait Implementations§
source§impl PartialEq for ValueType
impl PartialEq for ValueType
impl Copy for ValueType
impl Eq for ValueType
impl StructuralEq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.