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 InputSignal<'_>
Available on crate feature unstable
only.
impl From<NoPin> for InputSignal<'_>
Available on crate feature
unstable
only.Source§impl From<NoPin> for OutputSignal<'_>
Available on crate feature unstable
only.
impl From<NoPin> for OutputSignal<'_>
Available on crate feature
unstable
only.Source§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.impl PeripheralSignal<'_> 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, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)