pub enum StorageType {
I8,
I16,
ValType(ValType),
}Expand description
The storage type of a struct field / array element: a packed i8/i16, or a value type.
Variants§
Implementations§
Source§impl StorageType
impl StorageType
Sourcepub fn is_val_type(&self) -> bool
pub fn is_val_type(&self) -> bool
Whether this storage type is a (non-packed) value type.
Trait Implementations§
Source§impl Clone for StorageType
impl Clone for StorageType
Source§impl Debug for StorageType
impl Debug for StorageType
impl Eq for StorageType
Source§impl Hash for StorageType
impl Hash for StorageType
Source§impl PartialEq for StorageType
impl PartialEq for StorageType
impl StructuralPartialEq for StorageType
Auto Trait Implementations§
impl Freeze for StorageType
impl RefUnwindSafe for StorageType
impl Send for StorageType
impl Sync for StorageType
impl Unpin for StorageType
impl UnsafeUnpin for StorageType
impl UnwindSafe for StorageType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.