#[repr(u32)]pub enum SupportedAddressModes {
Mode3b = 0,
Mode3b4b = 1,
Mode4b = 2,
Reserved = 3,
Invalid = 4,
}
Expand description
SupportedAddressModes
represents which addressing modes are valid for
the device.
Variants§
Trait Implementations§
Source§impl Clone for SupportedAddressModes
impl Clone for SupportedAddressModes
Source§fn clone(&self) -> SupportedAddressModes
fn clone(&self) -> SupportedAddressModes
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 SupportedAddressModes
impl Debug for SupportedAddressModes
Source§impl Default for SupportedAddressModes
impl Default for SupportedAddressModes
Source§fn default() -> SupportedAddressModes
fn default() -> SupportedAddressModes
Returns the “default value” for a type. Read more
Source§impl From<SupportedAddressModes> for AddressMode
impl From<SupportedAddressModes> for AddressMode
Source§fn from(mode: SupportedAddressModes) -> Self
fn from(mode: SupportedAddressModes) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SupportedAddressModes
impl From<u32> for SupportedAddressModes
Source§impl FromPrimitive for SupportedAddressModes
impl FromPrimitive for SupportedAddressModes
Source§impl PartialEq for SupportedAddressModes
impl PartialEq for SupportedAddressModes
Source§impl Serialize for SupportedAddressModes
impl Serialize for SupportedAddressModes
impl Copy for SupportedAddressModes
impl Eq for SupportedAddressModes
impl StructuralPartialEq for SupportedAddressModes
Auto Trait Implementations§
impl Freeze for SupportedAddressModes
impl RefUnwindSafe for SupportedAddressModes
impl Send for SupportedAddressModes
impl Sync for SupportedAddressModes
impl Unpin for SupportedAddressModes
impl UnwindSafe for SupportedAddressModes
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