Enum stm32_metapac::timer::vals::Idir
#[repr(u8)]pub enum Idir {
BOTH = 0,
UP = 1,
DOWN = 2,
_RESERVED_3 = 3,
}
Variants§
BOTH = 0
Index resets the counter whatever the direction
UP = 1
Index resets the counter when up-counting only
DOWN = 2
Index resets the counter when down-counting only
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Idir
impl Ord for Idir
§impl PartialOrd for Idir
impl PartialOrd for Idir
§fn partial_cmp(&self, other: &Idir) -> Option<Ordering>
fn partial_cmp(&self, other: &Idir) -> 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 Idir
impl Eq for Idir
impl StructuralEq for Idir
impl StructuralPartialEq for Idir
Auto Trait Implementations§
impl RefUnwindSafe for Idir
impl Send for Idir
impl Sync for Idir
impl Unpin for Idir
impl UnwindSafe for Idir
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