#[repr(C)]pub struct i8051_interrupt_interface {
pub active_interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
pub reti: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub suppress_irq: Option<unsafe extern "C" fn(obj: *mut conf_object_t, addr: uint32) -> bool>,
}
Fields§
§active_interrupt: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
§reti: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§suppress_irq: Option<unsafe extern "C" fn(obj: *mut conf_object_t, addr: uint32) -> bool>
Trait Implementations§
source§impl Clone for i8051_interrupt_interface
impl Clone for i8051_interrupt_interface
source§fn clone(&self) -> i8051_interrupt_interface
fn clone(&self) -> i8051_interrupt_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for i8051_interrupt_interface
impl Debug for i8051_interrupt_interface
source§impl Default for i8051_interrupt_interface
impl Default for i8051_interrupt_interface
source§fn default() -> i8051_interrupt_interface
fn default() -> i8051_interrupt_interface
Returns the “default value” for a type. Read more
source§impl Hash for i8051_interrupt_interface
impl Hash for i8051_interrupt_interface
source§impl Ord for i8051_interrupt_interface
impl Ord for i8051_interrupt_interface
source§fn cmp(&self, other: &i8051_interrupt_interface) -> Ordering
fn cmp(&self, other: &i8051_interrupt_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialOrd for i8051_interrupt_interface
impl PartialOrd for i8051_interrupt_interface
impl Copy for i8051_interrupt_interface
impl Eq for i8051_interrupt_interface
impl StructuralPartialEq for i8051_interrupt_interface
Auto Trait Implementations§
impl Freeze for i8051_interrupt_interface
impl RefUnwindSafe for i8051_interrupt_interface
impl Send for i8051_interrupt_interface
impl Sync for i8051_interrupt_interface
impl Unpin for i8051_interrupt_interface
impl UnwindSafe for i8051_interrupt_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)