#[repr(transparent)]pub struct Hawindowsel(pub u32);
Expand description
Hart Array Window Select
Tuple Fields§
§0: u32
Implementations§
Source§impl Hawindowsel
impl Hawindowsel
Sourcepub const fn hawindowsel(&self) -> u16
pub const fn hawindowsel(&self) -> u16
The high bits of this field may be tied to 0, depending on how large the array mask register is. E.g. on a system with 48 harts only bit 0 of this field may actually be writable.
Sourcepub fn set_hawindowsel(&mut self, val: u16)
pub fn set_hawindowsel(&mut self, val: u16)
The high bits of this field may be tied to 0, depending on how large the array mask register is. E.g. on a system with 48 harts only bit 0 of this field may actually be writable.
Trait Implementations§
Source§impl Clone for Hawindowsel
impl Clone for Hawindowsel
Source§fn clone(&self) -> Hawindowsel
fn clone(&self) -> Hawindowsel
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 Default for Hawindowsel
impl Default for Hawindowsel
Source§fn default() -> Hawindowsel
fn default() -> Hawindowsel
Returns the “default value” for a type. Read more
Source§impl PartialEq for Hawindowsel
impl PartialEq for Hawindowsel
impl Copy for Hawindowsel
impl Eq for Hawindowsel
impl StructuralPartialEq for Hawindowsel
Auto Trait Implementations§
impl Freeze for Hawindowsel
impl RefUnwindSafe for Hawindowsel
impl Send for Hawindowsel
impl Sync for Hawindowsel
impl Unpin for Hawindowsel
impl UnwindSafe for Hawindowsel
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
)