#[repr(u8)]pub enum Sm0ctrl2Indep {
COMPLEMENTARY = 0,
INDEPENDENT = 1,
}Variants§
COMPLEMENTARY = 0
PWM_A and PWM_B form a complementary PWM pair.
INDEPENDENT = 1
PWM_A and PWM_B outputs are independent PWMs.
Implementations§
Source§impl Sm0ctrl2Indep
impl Sm0ctrl2Indep
Trait Implementations§
Source§impl Clone for Sm0ctrl2Indep
impl Clone for Sm0ctrl2Indep
Source§fn clone(&self) -> Sm0ctrl2Indep
fn clone(&self) -> Sm0ctrl2Indep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Sm0ctrl2Indep
impl Debug for Sm0ctrl2Indep
Source§impl From<Sm0ctrl2Indep> for u8
impl From<Sm0ctrl2Indep> for u8
Source§fn from(val: Sm0ctrl2Indep) -> u8
fn from(val: Sm0ctrl2Indep) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm0ctrl2Indep
impl From<u8> for Sm0ctrl2Indep
Source§fn from(val: u8) -> Sm0ctrl2Indep
fn from(val: u8) -> Sm0ctrl2Indep
Converts to this type from the input type.
Source§impl Ord for Sm0ctrl2Indep
impl Ord for Sm0ctrl2Indep
Source§fn cmp(&self, other: &Sm0ctrl2Indep) -> Ordering
fn cmp(&self, other: &Sm0ctrl2Indep) -> Ordering
1.21.0 · 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
Source§impl PartialEq for Sm0ctrl2Indep
impl PartialEq for Sm0ctrl2Indep
Source§impl PartialOrd for Sm0ctrl2Indep
impl PartialOrd for Sm0ctrl2Indep
impl Copy for Sm0ctrl2Indep
impl Eq for Sm0ctrl2Indep
impl StructuralPartialEq for Sm0ctrl2Indep
Auto Trait Implementations§
impl Freeze for Sm0ctrl2Indep
impl RefUnwindSafe for Sm0ctrl2Indep
impl Send for Sm0ctrl2Indep
impl Sync for Sm0ctrl2Indep
impl Unpin for Sm0ctrl2Indep
impl UnwindSafe for Sm0ctrl2Indep
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