Struct rp2040_hal::uart::ValidatedPinRts
source · pub struct ValidatedPinRts<P, Uart>(/* private fields */);
Expand description
A runtime validated Rts pin for uart.
Implementations§
source§impl<P, U> ValidatedPinRts<P, U>
impl<P, U> ValidatedPinRts<P, U>
Trait Implementations§
impl<P, UART: UartDevice> ValidPinRts<UART> for ValidatedPinRts<P, UART>
Auto Trait Implementations§
impl<P, Uart> Freeze for ValidatedPinRts<P, Uart>where
P: Freeze,
impl<P, Uart> RefUnwindSafe for ValidatedPinRts<P, Uart>where
P: RefUnwindSafe,
Uart: RefUnwindSafe,
impl<P, Uart> Send for ValidatedPinRts<P, Uart>
impl<P, Uart> Sync for ValidatedPinRts<P, Uart>
impl<P, Uart> Unpin for ValidatedPinRts<P, Uart>
impl<P, Uart> UnwindSafe for ValidatedPinRts<P, Uart>where
P: UnwindSafe,
Uart: 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
source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more