pub struct DeviceInterrupt { /* private fields */ }
Implementations§
Source§impl DeviceInterrupt
impl DeviceInterrupt
pub fn irq_number(&self) -> &usize
Sourcepub fn counts(&self) -> &Vec<usize>
pub fn counts(&self) -> &Vec<usize>
The length of Vector equals the CPU numbers. The first element is for CPU0, second for CPU1, and so on.
pub fn type_device(&self) -> &String
Trait Implementations§
Source§impl Clone for DeviceInterrupt
impl Clone for DeviceInterrupt
Source§fn clone(&self) -> DeviceInterrupt
fn clone(&self) -> DeviceInterrupt
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 DeviceInterrupt
impl Debug for DeviceInterrupt
Source§impl FromStr for DeviceInterrupt
impl FromStr for DeviceInterrupt
Source§impl PartialEq for DeviceInterrupt
impl PartialEq for DeviceInterrupt
impl StructuralPartialEq for DeviceInterrupt
Auto Trait Implementations§
impl Freeze for DeviceInterrupt
impl RefUnwindSafe for DeviceInterrupt
impl Send for DeviceInterrupt
impl Sync for DeviceInterrupt
impl Unpin for DeviceInterrupt
impl UnwindSafe for DeviceInterrupt
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