Enum pwm_pca9685::OutputStateChange
source · pub enum OutputStateChange {
OnStop,
OnAck,
}
Expand description
Output state change behavior
Variants§
OnStop
Outputs change on STOP. (default)
This will update the outputs all at the same time.
OnAck
Outputs change on ACK.
This will update the outputs byte by byte.
Trait Implementations§
source§impl Clone for OutputStateChange
impl Clone for OutputStateChange
source§fn clone(&self) -> OutputStateChange
fn clone(&self) -> OutputStateChange
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 OutputStateChange
impl Debug for OutputStateChange
source§impl Default for OutputStateChange
impl Default for OutputStateChange
source§fn default() -> OutputStateChange
fn default() -> OutputStateChange
Returns the “default value” for a type. Read more
source§impl Hash for OutputStateChange
impl Hash for OutputStateChange
source§impl PartialEq for OutputStateChange
impl PartialEq for OutputStateChange
source§fn eq(&self, other: &OutputStateChange) -> bool
fn eq(&self, other: &OutputStateChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutputStateChange
impl Eq for OutputStateChange
impl StructuralPartialEq for OutputStateChange
Auto Trait Implementations§
impl Freeze for OutputStateChange
impl RefUnwindSafe for OutputStateChange
impl Send for OutputStateChange
impl Sync for OutputStateChange
impl Unpin for OutputStateChange
impl UnwindSafe for OutputStateChange
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