Enum stm32_metapac::octospi::vals::LatencyMode
#[repr(u8)]pub enum LatencyMode {
VARIABLE = 0,
FIXED = 1,
}
Variants§
Implementations§
§impl LatencyMode
impl LatencyMode
pub const fn from_bits(val: u8) -> LatencyMode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for LatencyMode
impl Clone for LatencyMode
§fn clone(&self) -> LatencyMode
fn clone(&self) -> LatencyMode
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 more§impl From<LatencyMode> for u8
impl From<LatencyMode> for u8
§fn from(val: LatencyMode) -> u8
fn from(val: LatencyMode) -> u8
Converts to this type from the input type.
§impl From<u8> for LatencyMode
impl From<u8> for LatencyMode
§fn from(val: u8) -> LatencyMode
fn from(val: u8) -> LatencyMode
Converts to this type from the input type.
§impl Ord for LatencyMode
impl Ord for LatencyMode
§impl PartialEq for LatencyMode
impl PartialEq for LatencyMode
§fn eq(&self, other: &LatencyMode) -> bool
fn eq(&self, other: &LatencyMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for LatencyMode
impl PartialOrd for LatencyMode
§fn partial_cmp(&self, other: &LatencyMode) -> Option<Ordering>
fn partial_cmp(&self, other: &LatencyMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LatencyMode
impl Eq for LatencyMode
impl StructuralEq for LatencyMode
impl StructuralPartialEq for LatencyMode
Auto Trait Implementations§
impl RefUnwindSafe for LatencyMode
impl Send for LatencyMode
impl Sync for LatencyMode
impl Unpin for LatencyMode
impl UnwindSafe for LatencyMode
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