pub struct Pins<RS, R, E, D> {
pub register_select: RS,
pub read: R,
pub enable: E,
pub data: D,
}Expand description
This struct is used for easily setting up ParallelConnections.
Fields§
§register_select: RS§read: R§enable: E§data: DImplementations§
Source§impl<RS, R, E, D> Pins<RS, R, E, D>
impl<RS, R, E, D> Pins<RS, R, E, D>
Sourcepub fn into_connection<T>(self) -> ParallelConnection<RS, R, E, D, T>
pub fn into_connection<T>(self) -> ParallelConnection<RS, R, E, D, T>
Converts the pin setup into a ParallelConnection that is by Display to communicate
with the LCD device.
Auto Trait Implementations§
impl<RS, R, E, D> Freeze for Pins<RS, R, E, D>
impl<RS, R, E, D> RefUnwindSafe for Pins<RS, R, E, D>
impl<RS, R, E, D> Send for Pins<RS, R, E, D>
impl<RS, R, E, D> Sync for Pins<RS, R, E, D>
impl<RS, R, E, D> Unpin for Pins<RS, R, E, D>
impl<RS, R, E, D> UnwindSafe for Pins<RS, R, E, D>
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