ParallelConnection

Struct ParallelConnection 

Source
pub struct ParallelConnection<RS, R, E, D, T> { /* private fields */ }
Expand description

The parallel connection mode is the most common wiring mode for HD44780 compliant displays. It can be used with either four (DataPins4Lines) or eight (DataPins8Lines) data lines.

Trait Implementations§

Source§

impl<RS, R, E, D, T> Init for ParallelConnection<RS, R, E, D, T>

Source§

fn init(&self)

Initializes the connection.
Source§

impl<RS, R, E, D, T> Receive for ParallelConnection<RS, R, E, D, T>
where Self: ReceiveRaw, RS: DisplayHardwareLayer, R: DisplayHardwareLayer,

Source§

fn receive(&self, mode: ReadMode) -> u8

Source§

impl<RS, R, E, D, T> Send for ParallelConnection<RS, R, E, D, T>
where Self: SendRaw, RS: DisplayHardwareLayer, R: DisplayHardwareLayer,

Source§

fn send(&self, mode: WriteMode)

Sends data via the connection.

Auto Trait Implementations§

§

impl<RS, R, E, D, T> Freeze for ParallelConnection<RS, R, E, D, T>
where RS: Freeze, R: Freeze, E: Freeze, D: Freeze,

§

impl<RS, R, E, D, T> RefUnwindSafe for ParallelConnection<RS, R, E, D, T>

§

impl<RS, R, E, D, T> Send for ParallelConnection<RS, R, E, D, T>
where RS: Send, R: Send, E: Send, D: Send, T: Send,

§

impl<RS, R, E, D, T> Sync for ParallelConnection<RS, R, E, D, T>
where RS: Sync, R: Sync, E: Sync, D: Sync, T: Sync,

§

impl<RS, R, E, D, T> Unpin for ParallelConnection<RS, R, E, D, T>
where RS: Unpin, R: Unpin, E: Unpin, D: Unpin, T: Unpin,

§

impl<RS, R, E, D, T> UnwindSafe for ParallelConnection<RS, R, E, D, T>

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.