#[repr(u8)]pub enum ValType {
I32 = 127,
I64 = 126,
F32 = 125,
F64 = 124,
V128 = 123,
FuncRef = 112,
ExternRef = 111,
}
Variants§
Trait Implementations§
Source§impl From<ValType> for ResultType<'_>
impl From<ValType> for ResultType<'_>
Source§impl TryFromPrimitive for ValType
impl TryFromPrimitive for ValType
Source§impl UnsafeFromPrimitive for ValType
impl UnsafeFromPrimitive for ValType
type Primitive = u8
Source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
Source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0: Prefer to use
unchecked_transmute_from
, from_unchecked
will be removed in a future release.Transmutes into an enum from its primitive. Read more
impl Copy for ValType
impl Eq for ValType
impl StructuralPartialEq for ValType
Auto Trait Implementations§
impl Freeze for ValType
impl RefUnwindSafe for ValType
impl Send for ValType
impl Sync for ValType
impl Unpin for ValType
impl UnwindSafe for ValType
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