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
impl Copy for Idir
impl Eq for Idir
impl StructuralPartialEq for Idir
Auto Trait Implementations§
impl Freeze for Idir
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)