Struct lcd1602_driver::pins::Pins

source ·
pub struct Pins<ControlPin, DBPin, const PIN_CNT: usize>where
    ControlPin: OutputPin,
    DBPin: OutputPin + InputPin,{ /* private fields */ }
Expand description

Pins record LCD related pins data

Trait Implementations§

source§

impl<ControlPin, DBPin> EightPinsAPI<ControlPin, DBPin> for Pins<ControlPin, DBPin, 8>where ControlPin: OutputPin, DBPin: OutputPin + InputPin,

source§

fn new( rs: ControlPin, rw: ControlPin, en: ControlPin, db0: DBPin, db1: DBPin, db2: DBPin, db3: DBPin, db4: DBPin, db5: DBPin, db6: DBPin, db7: DBPin ) -> Self

source§

impl<ControlPin, DBPin> FourPinsAPI<ControlPin, DBPin> for Pins<ControlPin, DBPin, 4>where ControlPin: OutputPin, DBPin: OutputPin + InputPin,

source§

fn new( rs: ControlPin, rw: ControlPin, en: ControlPin, db4: DBPin, db5: DBPin, db6: DBPin, db7: DBPin ) -> Self

Auto Trait Implementations§

§

impl<ControlPin, DBPin, const PIN_CNT: usize> RefUnwindSafe for Pins<ControlPin, DBPin, PIN_CNT>where ControlPin: RefUnwindSafe, DBPin: RefUnwindSafe,

§

impl<ControlPin, DBPin, const PIN_CNT: usize> Send for Pins<ControlPin, DBPin, PIN_CNT>where ControlPin: Send, DBPin: Send,

§

impl<ControlPin, DBPin, const PIN_CNT: usize> Sync for Pins<ControlPin, DBPin, PIN_CNT>where ControlPin: Sync, DBPin: Sync,

§

impl<ControlPin, DBPin, const PIN_CNT: usize> Unpin for Pins<ControlPin, DBPin, PIN_CNT>where ControlPin: Unpin, DBPin: Unpin,

§

impl<ControlPin, DBPin, const PIN_CNT: usize> UnwindSafe for Pins<ControlPin, DBPin, PIN_CNT>where ControlPin: UnwindSafe, DBPin: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.