Struct Hawindowsel
#[repr(transparent)]pub struct Hawindowsel(pub u32);Expand description
Hart Array Window Select.
Tuple Fields§
§0: u32Implementations§
§impl Hawindowsel
impl Hawindowsel
pub 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.
pub const fn set_hawindowsel(&mut self, val: u16)
pub const 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§
§impl Clone for Hawindowsel
impl Clone for Hawindowsel
§fn clone(&self) -> Hawindowsel
fn clone(&self) -> Hawindowsel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Hawindowsel
§impl Debug for Hawindowsel
impl Debug for Hawindowsel
§impl Default for Hawindowsel
impl Default for Hawindowsel
§fn default() -> Hawindowsel
fn default() -> Hawindowsel
Returns the “default value” for a type. Read more
impl Eq for Hawindowsel
§impl PartialEq for Hawindowsel
impl PartialEq 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 UnsafeUnpin 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