Enum pwm_pca9685::OutputLogicState
source · pub enum OutputLogicState {
Direct,
Inverted,
}
Expand description
Output logic state inversion
Variants§
Direct
Output logic state is not inverted (default).
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§
source§impl Clone for OutputLogicState
impl Clone for OutputLogicState
source§fn clone(&self) -> OutputLogicState
fn clone(&self) -> OutputLogicState
Returns a copy 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 OutputLogicState
impl Debug for OutputLogicState
source§impl Default for OutputLogicState
impl Default for OutputLogicState
source§fn default() -> OutputLogicState
fn default() -> OutputLogicState
Returns the “default value” for a type. Read more
source§impl Hash for OutputLogicState
impl Hash for OutputLogicState
source§impl PartialEq for OutputLogicState
impl PartialEq for OutputLogicState
source§fn eq(&self, other: &OutputLogicState) -> bool
fn eq(&self, other: &OutputLogicState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutputLogicState
impl Eq for OutputLogicState
impl StructuralPartialEq for OutputLogicState
Auto Trait Implementations§
impl Freeze for OutputLogicState
impl RefUnwindSafe for OutputLogicState
impl Send for OutputLogicState
impl Sync for OutputLogicState
impl Unpin for OutputLogicState
impl UnwindSafe for OutputLogicState
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