pub enum CounterMode {
Up,
UpAndDown,
}Expand description
Selects up mode or up-and-down mode for the counter
Variants§
Up
Up counter (edge-aligned PWM duty cycle)
UpAndDown
Up and down counter (center-aligned PWM duty cycle)
Trait Implementations§
Source§impl Clone for CounterMode
impl Clone for CounterMode
Source§fn clone(&self) -> CounterMode
fn clone(&self) -> CounterMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CounterMode
Source§impl Debug for CounterMode
impl Debug for CounterMode
impl Eq for CounterMode
Source§impl Format for CounterMode
impl Format for CounterMode
Source§impl PartialEq for CounterMode
impl PartialEq for CounterMode
impl StructuralPartialEq for CounterMode
Auto Trait Implementations§
impl Freeze for CounterMode
impl RefUnwindSafe for CounterMode
impl Send for CounterMode
impl Sync for CounterMode
impl Unpin for CounterMode
impl UnsafeUnpin for CounterMode
impl UnwindSafe for CounterMode
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