pub struct ProxyPin(/* private fields */);
Expand description
An internal ID for any given pin
Trait Implementations§
source§impl Into<PinIdentity> for ProxyPin
impl Into<PinIdentity> for ProxyPin
source§fn into(self) -> PinIdentity
fn into(self) -> PinIdentity
Converts this type into the (usually inferred) input type.
source§impl Pin for ProxyPin
impl Pin for ProxyPin
source§fn set(&self, high: bool)
fn set(&self, high: bool)
Set the pin’s output according to the boolean (true == high, false == low)
source§fn set_interrupt_mode(&self, mode: InterruptMode)
fn set_interrupt_mode(&self, mode: InterruptMode)
Set when this pin will generate interrupts
source§fn listen(&self, handler: PinIsrCallback)
fn listen(&self, handler: PinIsrCallback)
Add a handler to be called when this pin generates an interrupt
Auto Trait Implementations§
impl Freeze for ProxyPin
impl RefUnwindSafe for ProxyPin
impl Send for ProxyPin
impl Sync for ProxyPin
impl Unpin for ProxyPin
impl UnwindSafe for ProxyPin
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