#[repr(transparent)]pub struct Info(pub u32);
Expand description
Version and the maximum priority.
Tuple Fields§
§0: u32
Implementations§
Source§impl Info
impl Info
Sourcepub fn set_version(&mut self, val: u16)
pub fn set_version(&mut self, val: u16)
The version of the PLIC design.
Sourcepub const fn max_priority(&self) -> u16
pub const fn max_priority(&self) -> u16
The maximum priority supported.
Sourcepub fn set_max_priority(&mut self, val: u16)
pub fn set_max_priority(&mut self, val: u16)
The maximum priority supported.
Trait Implementations§
impl Copy for Info
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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