Struct esp32c2_hal::serial::TxRxPins
source · pub struct TxRxPins<TX, RX>where
TX: OutputPin,
RX: InputPin,{
pub tx: Option<TX>,
pub rx: Option<RX>,
}
Fields
tx: Option<TX>
rx: Option<RX>
Implementations
Trait Implementations
Auto Trait Implementations
impl<TX, RX> RefUnwindSafe for TxRxPins<TX, RX>where
RX: RefUnwindSafe,
TX: RefUnwindSafe,
impl<TX, RX> Send for TxRxPins<TX, RX>where
RX: Send,
TX: Send,
impl<TX, RX> Sync for TxRxPins<TX, RX>where
RX: Sync,
TX: Sync,
impl<TX, RX> Unpin for TxRxPins<TX, RX>where
RX: Unpin,
TX: Unpin,
impl<TX, RX> UnwindSafe for TxRxPins<TX, RX>where
RX: UnwindSafe,
TX: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more