Struct embedded_hal_compat::Reverse
source · pub struct Reverse<T> { /* private fields */ }
Expand description
Reverse compatibility container object. This is generic over different E-H types and will provide adaption depending on the bound type.
Implementations§
Trait Implementations§
source§impl<T, E> Transactional<u8> for Reverse<T>
Available on crate feature alloc
only.
impl<T, E> Transactional<u8> for Reverse<T>
Available on crate feature
alloc
only.source§impl<T, E> Transactional for Reverse<T>
Available on crate feature alloc
only.
impl<T, E> Transactional for Reverse<T>
Available on crate feature
alloc
only.source§impl<T, E> WriteIter<u8> for Reverse<T>
impl<T, E> WriteIter<u8> for Reverse<T>
source§fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where
WI: IntoIterator<Item = u8>,
fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>where
WI: IntoIterator<Item = u8>,
Sends
words
to the slave, ignoring all the incoming wordssource§impl<T, E> Write<u8> for Reverse<T>
Available on crate feature embedded-io
only.
impl<T, E> Write<u8> for Reverse<T>
Available on crate feature
embedded-io
only.source§impl<T, E> FullDuplex<u8> for Reverse<T>
impl<T, E> FullDuplex<u8> for Reverse<T>
Auto Trait Implementations§
impl<T> Freeze for Reverse<T>where
T: Freeze,
impl<T> RefUnwindSafe for Reverse<T>where
T: RefUnwindSafe,
impl<T> Send for Reverse<T>where
T: Send,
impl<T> Sync for Reverse<T>where
T: Sync,
impl<T> Unpin for Reverse<T>where
T: Unpin,
impl<T> UnwindSafe for Reverse<T>where
T: UnwindSafe,
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