#[repr(u32)]pub enum BlockEraseSize {
Reserved0 = 0,
Block4KiB = 1,
Reserved2 = 2,
BlockNot4KiB = 3,
Invalid = 4,
}
Expand description
BlockEraseSize
represents whether or not the device can perform
a 4KiB erase.
Variants§
Trait Implementations§
Source§impl Clone for BlockEraseSize
impl Clone for BlockEraseSize
Source§fn clone(&self) -> BlockEraseSize
fn clone(&self) -> BlockEraseSize
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 Debug for BlockEraseSize
impl Debug for BlockEraseSize
Source§impl Default for BlockEraseSize
impl Default for BlockEraseSize
Source§fn default() -> BlockEraseSize
fn default() -> BlockEraseSize
Returns the “default value” for a type. Read more
Source§impl From<u32> for BlockEraseSize
impl From<u32> for BlockEraseSize
Source§impl FromPrimitive for BlockEraseSize
impl FromPrimitive for BlockEraseSize
Source§impl PartialEq for BlockEraseSize
impl PartialEq for BlockEraseSize
Source§impl Serialize for BlockEraseSize
impl Serialize for BlockEraseSize
impl Copy for BlockEraseSize
impl Eq for BlockEraseSize
impl StructuralPartialEq for BlockEraseSize
Auto Trait Implementations§
impl Freeze for BlockEraseSize
impl RefUnwindSafe for BlockEraseSize
impl Send for BlockEraseSize
impl Sync for BlockEraseSize
impl Unpin for BlockEraseSize
impl UnwindSafe for BlockEraseSize
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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