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