#[repr(transparent)]pub struct Number(pub u32);
Expand description
Number of supported interrupt sources and targets.
Tuple Fields§
§0: u32
Implementations§
Source§impl Number
impl Number
Sourcepub const fn num_interrupt(&self) -> u16
pub const fn num_interrupt(&self) -> u16
The number of supported interrupt sources.
Sourcepub fn set_num_interrupt(&mut self, val: u16)
pub fn set_num_interrupt(&mut self, val: u16)
The number of supported interrupt sources.
Sourcepub const fn num_target(&self) -> u16
pub const fn num_target(&self) -> u16
The number of supported targets.
Sourcepub fn set_num_target(&mut self, val: u16)
pub fn set_num_target(&mut self, val: u16)
The number of supported targets.
Trait Implementations§
impl Copy for Number
impl Eq for Number
impl StructuralPartialEq for Number
Auto Trait Implementations§
impl Freeze for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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