Struct led::mono::CommonCathode
source · pub struct CommonCathode { /* private fields */ }
Expand description
A marker type that represents a common cathode connection.
Examples
use led::rgb::{CommonCathode, LED};
let led: LED<CommonCathode, _, _, _> = LED::new(r, g, b);
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CommonCathode
impl Send for CommonCathode
impl Sync for CommonCathode
impl Unpin for CommonCathode
impl UnwindSafe for CommonCathode
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