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