Trait OutputPinExt

Source
pub trait OutputPinExt: OutputPin {
    // Provided method
    fn set(&mut self, high: bool) -> Set<'_, Self> 
       where Self: Unpin { ... }
}
Expand description

Extension functions for instances of OutputPin.

Provided Methods§

Source

fn set(&mut self, high: bool) -> Set<'_, Self>
where Self: Unpin,

Sets the current high or low state of this pin.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> OutputPinExt for A
where A: OutputPin,