pub enum DataType {
I8 = 5_120,
U8 = 5_121,
I16 = 5_122,
U16 = 5_123,
I32 = 5_124,
U32 = 5_125,
Float = 5_126,
}
Variants§
Trait Implementations§
Source§impl FromWasmAbi for DataType
impl FromWasmAbi for DataType
Source§impl IntoWasmAbi for DataType
impl IntoWasmAbi for DataType
Source§impl OptionFromWasmAbi for DataType
impl OptionFromWasmAbi for DataType
Source§impl OptionIntoWasmAbi for DataType
impl OptionIntoWasmAbi for DataType
Source§impl TryFromJsValue for DataType
impl TryFromJsValue for DataType
Source§impl VectorFromWasmAbi for DataType
impl VectorFromWasmAbi for DataType
Source§impl VectorIntoWasmAbi for DataType
impl VectorIntoWasmAbi for DataType
impl Copy for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.