Enum wast::StorageType
source · [−]pub enum StorageType<'a> {
I8,
I16,
Val(ValType<'a>),
}
Expand description
The types of values that may be used in a struct or array.
Variants
I8
I16
Val(ValType<'a>)
Trait Implementations
sourceimpl<'a> Clone for StorageType<'a>
impl<'a> Clone for StorageType<'a>
sourcefn clone(&self) -> StorageType<'a>
fn clone(&self) -> StorageType<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for StorageType<'a>
impl<'a> Debug for StorageType<'a>
sourceimpl<'a> Hash for StorageType<'a>
impl<'a> Hash for StorageType<'a>
sourceimpl<'a> Parse<'a> for StorageType<'a>
impl<'a> Parse<'a> for StorageType<'a>
sourceimpl<'a> PartialEq<StorageType<'a>> for StorageType<'a>
impl<'a> PartialEq<StorageType<'a>> for StorageType<'a>
sourcefn eq(&self, other: &StorageType<'a>) -> bool
fn eq(&self, other: &StorageType<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorageType<'a>) -> bool
fn ne(&self, other: &StorageType<'a>) -> bool
This method tests for !=
.
impl<'a> Copy for StorageType<'a>
impl<'a> Eq for StorageType<'a>
impl<'a> StructuralEq for StorageType<'a>
impl<'a> StructuralPartialEq for StorageType<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for StorageType<'a>
impl<'a> Send for StorageType<'a>
impl<'a> Sync for StorageType<'a>
impl<'a> Unpin for StorageType<'a>
impl<'a> UnwindSafe for StorageType<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more