#[repr(u8)]pub enum SmctrlIndep {
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 SmctrlIndep
impl SmctrlIndep
Trait Implementations§
Source§impl Clone for SmctrlIndep
impl Clone for SmctrlIndep
Source§fn clone(&self) -> SmctrlIndep
fn clone(&self) -> SmctrlIndep
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 SmctrlIndep
impl Debug for SmctrlIndep
Source§impl From<SmctrlIndep> for u8
impl From<SmctrlIndep> for u8
Source§fn from(val: SmctrlIndep) -> u8
fn from(val: SmctrlIndep) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SmctrlIndep
impl From<u8> for SmctrlIndep
Source§fn from(val: u8) -> SmctrlIndep
fn from(val: u8) -> SmctrlIndep
Converts to this type from the input type.
Source§impl Ord for SmctrlIndep
impl Ord for SmctrlIndep
Source§fn cmp(&self, other: &SmctrlIndep) -> Ordering
fn cmp(&self, other: &SmctrlIndep) -> 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 SmctrlIndep
impl PartialEq for SmctrlIndep
Source§impl PartialOrd for SmctrlIndep
impl PartialOrd for SmctrlIndep
impl Copy for SmctrlIndep
impl Eq for SmctrlIndep
impl StructuralPartialEq for SmctrlIndep
Auto Trait Implementations§
impl Freeze for SmctrlIndep
impl RefUnwindSafe for SmctrlIndep
impl Send for SmctrlIndep
impl Sync for SmctrlIndep
impl Unpin for SmctrlIndep
impl UnwindSafe for SmctrlIndep
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