pub struct NoPin;
Expand description
Placeholder pin, used when no pin is required when using a peripheral.
When used as a peripheral signal, NoPin
is equivalent to Level::Low
.
Trait Implementations§
Source§impl From<NoPin> for InputConnection
Available on crate feature unstable
only.
impl From<NoPin> for InputConnection
Available on crate feature
unstable
only.Source§impl From<NoPin> for OutputConnection
Available on crate feature unstable
only.
impl From<NoPin> for OutputConnection
Available on crate feature
unstable
only.Source§impl Peripheral for NoPin
impl Peripheral for NoPin
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Source§fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
Convert a value into a
PeripheralRef
. Read moreSource§impl StatefulOutputPin for NoPin
impl StatefulOutputPin for NoPin
impl Copy for NoPin
impl PeripheralInput for NoPin
Available on crate feature
unstable
only.impl PeripheralOutput for NoPin
Available on crate feature
unstable
only.Auto Trait Implementations§
impl Freeze for NoPin
impl RefUnwindSafe for NoPin
impl Send for NoPin
impl Sync for NoPin
impl Unpin for NoPin
impl UnwindSafe for NoPin
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)