pub struct NoopPins {}Expand description
Stand-in implementation of the EndBASIC GPIO operations that always returns an error.
Trait Implementations§
Source§impl Pins for NoopPins
impl Pins for NoopPins
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Returns
self as &dyn Any to allow downcasting to a concrete type.Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Returns
self as &mut dyn Any to allow downcasting to a concrete type.Auto Trait Implementations§
impl Freeze for NoopPins
impl RefUnwindSafe for NoopPins
impl Send for NoopPins
impl Sync for NoopPins
impl Unpin for NoopPins
impl UnsafeUnpin for NoopPins
impl UnwindSafe for NoopPins
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