pub enum DutyCycle {
Eight,
Quarter,
Third,
Half,
}
Expand description
Possible values for the duty cycle of the square wave.
Variants§
Eight
A duty cycle of 12.5%.
Quarter
A duty cycle of 25%.
Third
A duty cycle of 33%.
Half
A duty cycle of 50%.
Implementations§
Trait Implementations§
source§impl PartialEq for DutyCycle
impl PartialEq for DutyCycle
impl Copy for DutyCycle
impl Eq for DutyCycle
impl StructuralEq for DutyCycle
impl StructuralPartialEq for DutyCycle
Auto Trait Implementations§
impl RefUnwindSafe for DutyCycle
impl Send for DutyCycle
impl Sync for DutyCycle
impl Unpin for DutyCycle
impl UnwindSafe for DutyCycle
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