pub enum MemorySize {
Show 24 variants
_1KiB,
_2KiB,
_4KiB,
_8KiB,
_16KiB,
_32KiB,
_64KiB,
_128KiB,
_256KiB,
_512KiB,
_1MiB,
_2MiB,
_4MiB,
_8MiB,
_16MiB,
_32MiB,
_64MiB,
_128MiB,
_256MiB,
_512MiB,
_1GiB,
_2GiB,
_4GiB,
Other(u8),
}
Expand description
Ospi memory size.
Variants§
_1KiB
_2KiB
_4KiB
_8KiB
_16KiB
_32KiB
_64KiB
_128KiB
_256KiB
_512KiB
_1MiB
_2MiB
_4MiB
_8MiB
_16MiB
_32MiB
_64MiB
_128MiB
_256MiB
_512MiB
_1GiB
_2GiB
_4GiB
Other(u8)
Trait Implementations§
source§impl Clone for MemorySize
impl Clone for MemorySize
source§fn clone(&self) -> MemorySize
fn clone(&self) -> MemorySize
Returns a copy 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 Into<u8> for MemorySize
impl Into<u8> for MemorySize
impl Copy for MemorySize
Auto Trait Implementations§
impl Freeze for MemorySize
impl RefUnwindSafe for MemorySize
impl Send for MemorySize
impl Sync for MemorySize
impl Unpin for MemorySize
impl UnwindSafe for MemorySize
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)