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