Enum Updown
#[repr(u8)]pub enum Updown {
Up = 0,
UpAndDown = 1,
}Variants§
Up = 0
Up counter, edge-aligned PWM duty cycle.
UpAndDown = 1
Up and down counter, center-aligned PWM duty cycle.
Implementations§
Trait Implementations§
impl Copy for Updown
impl Eq for Updown
§impl Ord for Updown
impl Ord for Updown
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Updown
impl PartialOrd for Updown
impl StructuralPartialEq for Updown
Auto Trait Implementations§
impl Freeze for Updown
impl RefUnwindSafe for Updown
impl Send for Updown
impl Sync for Updown
impl Unpin for Updown
impl UnsafeUnpin for Updown
impl UnwindSafe for Updown
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