pub enum StorageType {
Val(ValType),
Packed(PackedType),
}Variants§
Val(ValType)
Packed(PackedType)
Trait Implementations§
Source§impl AstNode for StorageType
impl AstNode for StorageType
Source§impl Clone for StorageType
impl Clone for StorageType
Source§fn clone(&self) -> StorageType
fn clone(&self) -> StorageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 !Send for StorageType
impl !Sync for StorageType
impl Freeze for StorageType
impl RefUnwindSafe 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