pub enum StorageKind {
FixedRom,
RemovableRom,
FixedRam,
RemovableRam,
Other,
}Expand description
A kind of the storage.
Variants§
FixedRom
Read-only memory storage (ROM) that cannot be detached from device.
RemovableRom
Read-only memory storage (ROM) that can be detached from device.
FixedRam
Random-access memory (RAM) that cannot be detached from device.
RemovableRam
Random-access memory (RAM) that can be detached from device.
Other
Other storage kind.
Trait Implementations§
Source§impl Clone for StorageKind
impl Clone for StorageKind
Source§fn clone(&self) -> StorageKind
fn clone(&self) -> StorageKind
Returns a duplicate of the value. Read more
1.0.0 · 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 StorageKind
impl Debug for StorageKind
Source§impl Default for StorageKind
impl Default for StorageKind
Source§fn default() -> StorageKind
fn default() -> StorageKind
Returns the “default value” for a type. Read more
Source§impl Hash for StorageKind
impl Hash for StorageKind
Source§impl PartialEq for StorageKind
impl PartialEq for StorageKind
impl Copy for StorageKind
impl Eq for StorageKind
impl StructuralPartialEq for StorageKind
Auto Trait Implementations§
impl Freeze for StorageKind
impl RefUnwindSafe for StorageKind
impl Send for StorageKind
impl Sync for StorageKind
impl Unpin for StorageKind
impl UnwindSafe for StorageKind
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