pub struct InterruptHandler { /* private fields */ }
Available on crate feature
unstable
only.Expand description
An interrupt handler
Implementations§
Source§impl InterruptHandler
impl InterruptHandler
Sourcepub const fn new(f: extern "C" fn(), prio: Priority) -> Self
pub const fn new(f: extern "C" fn(), prio: Priority) -> Self
Creates a new InterruptHandler which will call the given function at the given priority.
Trait Implementations§
Source§impl Clone for InterruptHandler
impl Clone for InterruptHandler
Source§fn clone(&self) -> InterruptHandler
fn clone(&self) -> InterruptHandler
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterruptHandler
impl Debug for InterruptHandler
Source§impl Format for InterruptHandler
impl Format for InterruptHandler
Source§impl Hash for InterruptHandler
impl Hash for InterruptHandler
Source§impl PartialEq for InterruptHandler
impl PartialEq for InterruptHandler
impl Copy for InterruptHandler
impl Eq for InterruptHandler
impl StructuralPartialEq for InterruptHandler
Auto Trait Implementations§
impl Freeze for InterruptHandler
impl RefUnwindSafe for InterruptHandler
impl Send for InterruptHandler
impl Sync for InterruptHandler
impl Unpin for InterruptHandler
impl UnwindSafe for InterruptHandler
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)