Struct embedded_hal::digital::v1_compat::OldInputPin
source · [−]pub struct OldInputPin<T> { /* private fields */ }
Expand description
Wrapper to allow fallible v2::InputPin
traits to be converted to v1::InputPin
traits
where errors will panic.
Implementations
sourceimpl<T, E> OldInputPin<T> where
T: InputPin<Error = E>,
E: Debug,
impl<T, E> OldInputPin<T> where
T: InputPin<Error = E>,
E: Debug,
Trait Implementations
sourceimpl<T, E> From<T> for OldInputPin<T> where
T: InputPin<Error = E>,
E: Debug,
impl<T, E> From<T> for OldInputPin<T> where
T: InputPin<Error = E>,
E: Debug,
sourceimpl<T, E> InputPin for OldInputPin<T> where
T: InputPin<Error = E>,
E: Debug,
impl<T, E> InputPin for OldInputPin<T> where
T: InputPin<Error = E>,
E: Debug,
Implementation of v1::InputPin
trait for v2::InputPin
fallible pins
where errors will panic.
Auto Trait Implementations
impl<T> RefUnwindSafe for OldInputPin<T> where
T: RefUnwindSafe,
impl<T> Send for OldInputPin<T> where
T: Send,
impl<T> Sync for OldInputPin<T> where
T: Sync,
impl<T> Unpin for OldInputPin<T> where
T: Unpin,
impl<T> UnwindSafe for OldInputPin<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more