Struct capsules_extra::panic_button::PanicButton
source · pub struct PanicButton<'a, IP: InterruptPin<'a>> { /* private fields */ }
Implementations§
source§impl<'a, IP: InterruptPin<'a>> PanicButton<'a, IP>
impl<'a, IP: InterruptPin<'a>> PanicButton<'a, IP>
pub fn new( pin: &'a IP, mode: ActivationMode, floating_state: FloatingState, ) -> Self
Trait Implementations§
source§impl<'a, IP: InterruptPin<'a>> Client for PanicButton<'a, IP>
impl<'a, IP: InterruptPin<'a>> Client for PanicButton<'a, IP>
Auto Trait Implementations§
impl<'a, IP> Freeze for PanicButton<'a, IP>
impl<'a, IP> RefUnwindSafe for PanicButton<'a, IP>where
IP: RefUnwindSafe,
impl<'a, IP> Send for PanicButton<'a, IP>where
IP: Sync,
impl<'a, IP> Sync for PanicButton<'a, IP>where
IP: Sync,
impl<'a, IP> Unpin for PanicButton<'a, IP>
impl<'a, IP> UnwindSafe for PanicButton<'a, IP>where
IP: RefUnwindSafe,
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