Struct st7735_async_low::adapters::AdapterU8s [−][src]
A helper to add WriteU8 support when WriteU8s is implemented.
There is a slightly overhead on using an array to represent an element, especially when the compiler fails to inline the functions. The user should decide on their own whether they need to implement WriteU8 and WriteU8s individually.
Implementations
impl<W> AdapterU8s<W>
[src]
Trait Implementations
impl<W: DcxPin> DcxPin for AdapterU8s<W>
[src]
fn set_dcx_command_mode(&mut self)
[src]
fn set_dcx_data_mode(&mut self)
[src]
impl<'a, W: Read<'a>> Read<'a> for AdapterU8s<W>
[src]
type ReadBitsType = <W as Read<'a>>::ReadBitsType
fn start_reading(&'a mut self) -> Self::ReadBitsType
[src]
impl<'a, W: WriteU8s<'a>> WriteU8<'a> for AdapterU8s<W>
[src]
type WriteU8Done = <W as WriteU8s<'a>>::WriteU8sDone
fn write_u8(&'a mut self, data: u8) -> Self::WriteU8Done
[src]
impl<'a, W: WriteU8s<'a>> WriteU8s<'a> for AdapterU8s<W>
[src]
type WriteU8sDone = <W as WriteU8s<'a>>::WriteU8sDone
fn write_u8s(&'a mut self, data: &'a [u8]) -> Self::WriteU8sDone
[src]
Auto Trait Implementations
impl<W> Send for AdapterU8s<W> where
W: Send,
W: Send,
impl<W> Sync for AdapterU8s<W> where
W: Sync,
W: Sync,
impl<W> Unpin for AdapterU8s<W> where
W: Unpin,
W: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,