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