Enum pwm_pca9685::OutputLogicState
source · pub enum OutputLogicState {
Direct,
Inverted,
}
Expand description
Output logic state inversion
Variants
Direct
Output logic state is not inverted.
Value to set when external driver is used. Applicable when OE = 0
.
Inverted
Output logic state is inverted.
Value to set when no external driver is used. Applicable when OE = 0
.
Trait Implementations
sourceimpl Clone for OutputLogicState
impl Clone for OutputLogicState
sourcefn clone(&self) -> OutputLogicState
fn clone(&self) -> OutputLogicState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OutputLogicState
impl Debug for OutputLogicState
sourceimpl PartialEq<OutputLogicState> for OutputLogicState
impl PartialEq<OutputLogicState> for OutputLogicState
sourcefn eq(&self, other: &OutputLogicState) -> bool
fn eq(&self, other: &OutputLogicState) -> bool
impl Copy for OutputLogicState
impl StructuralPartialEq for OutputLogicState
Auto Trait Implementations
impl RefUnwindSafe for OutputLogicState
impl Send for OutputLogicState
impl Sync for OutputLogicState
impl Unpin for OutputLogicState
impl UnwindSafe for OutputLogicState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more