Enum esp32_hal::mcpwm::timer::CounterDirection
source · #[repr(u8)]pub enum CounterDirection {
Increasing = 0,
Decreasing = 1,
}
Expand description
The direction the timer counter is changing
Variants§
Trait Implementations§
source§impl Debug for CounterDirection
impl Debug for CounterDirection
source§impl From<bool> for CounterDirection
impl From<bool> for CounterDirection
source§fn from(bit: bool) -> CounterDirection
fn from(bit: bool) -> CounterDirection
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CounterDirection
impl Send for CounterDirection
impl Sync for CounterDirection
impl Unpin for CounterDirection
impl UnwindSafe for CounterDirection
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