Enum stm32_metapac::gpdma::vals::Dec
#[repr(u8)]pub enum Dec {
ADD = 0,
SUBTRACT = 1,
}
Variants§
ADD = 0
The address is incremented by the programmed offset.
SUBTRACT = 1
The address is decremented by the programmed offset.
Implementations§
Trait Implementations§
§impl Ord for Dec
impl Ord for Dec
§impl PartialOrd for Dec
impl PartialOrd for Dec
§fn partial_cmp(&self, other: &Dec) -> Option<Ordering>
fn partial_cmp(&self, other: &Dec) -> 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 Dec
impl Eq for Dec
impl StructuralEq for Dec
impl StructuralPartialEq for Dec
Auto Trait Implementations§
impl RefUnwindSafe for Dec
impl Send for Dec
impl Sync for Dec
impl Unpin for Dec
impl UnwindSafe for Dec
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