Struct embedded_hal::digital::v1_compat::OldOutputPin [−][src]
pub struct OldOutputPin<T> { /* fields omitted */ }
Wrapper to allow fallible v2::OutputPin
traits to be converted to v1::OutputPin
traits
Implementations
impl<T, E> OldOutputPin<T> where
T: OutputPin<Error = E>,
E: Debug,
[src]
impl<T, E> OldOutputPin<T> where
T: OutputPin<Error = E>,
E: Debug,
[src]Trait Implementations
impl<T, E> From<T> for OldOutputPin<T> where
T: OutputPin<Error = E>,
E: Debug,
[src]
impl<T, E> From<T> for OldOutputPin<T> where
T: OutputPin<Error = E>,
E: Debug,
[src]impl<T, E> OutputPin for OldOutputPin<T> where
T: OutputPin<Error = E>,
E: Debug,
[src]
impl<T, E> OutputPin for OldOutputPin<T> where
T: OutputPin<Error = E>,
E: Debug,
[src]Implementation of v1::OutputPin
trait for fallible v2::OutputPin
output pins
where errors will panic.
impl<T, E> StatefulOutputPin for OldOutputPin<T> where
T: StatefulOutputPin<Error = E>,
E: Debug,
[src]
impl<T, E> StatefulOutputPin for OldOutputPin<T> where
T: StatefulOutputPin<Error = E>,
E: Debug,
[src]Implementation of v1::StatefulOutputPin
trait for v2::StatefulOutputPin
fallible pins
where errors will panic.
fn is_set_low(&self) -> bool
[src]
fn is_set_high(&self) -> bool
[src]
Auto Trait Implementations
impl<T> Send for OldOutputPin<T> where
T: Send,
impl<T> Send for OldOutputPin<T> where
T: Send,
impl<T> Sync for OldOutputPin<T> where
T: Sync,
impl<T> Sync for OldOutputPin<T> where
T: Sync,
impl<T> Unpin for OldOutputPin<T> where
T: Unpin,
impl<T> Unpin for OldOutputPin<T> where
T: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> StatefulOutputPin for T where
T: StatefulOutputPin + OutputPin,
[src]
impl<T> StatefulOutputPin for T where
T: StatefulOutputPin + OutputPin,
[src]