#[repr(u32)]pub enum WriteGranularity {
Granularity1Byte = 0,
Granularity64Bytes = 1,
Invalid = 2,
}
Expand description
WriteGranularity
represents whether or not the device has an internal
buffer for program operations.
Variants§
Trait Implementations§
Source§impl Clone for WriteGranularity
impl Clone for WriteGranularity
Source§fn clone(&self) -> WriteGranularity
fn clone(&self) -> WriteGranularity
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 WriteGranularity
impl Debug for WriteGranularity
Source§impl Default for WriteGranularity
impl Default for WriteGranularity
Source§fn default() -> WriteGranularity
fn default() -> WriteGranularity
Returns the “default value” for a type. Read more
Source§impl From<u32> for WriteGranularity
impl From<u32> for WriteGranularity
Source§impl FromPrimitive for WriteGranularity
impl FromPrimitive for WriteGranularity
Source§impl PartialEq for WriteGranularity
impl PartialEq for WriteGranularity
Source§impl Serialize for WriteGranularity
impl Serialize for WriteGranularity
impl Copy for WriteGranularity
impl Eq for WriteGranularity
impl StructuralPartialEq for WriteGranularity
Auto Trait Implementations§
impl Freeze for WriteGranularity
impl RefUnwindSafe for WriteGranularity
impl Send for WriteGranularity
impl Sync for WriteGranularity
impl Unpin for WriteGranularity
impl UnwindSafe for WriteGranularity
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