#[repr(transparent)]pub struct NNpT0T1Addr(pub u32);
Expand description
This register defines the N, Np, T0, and T1 virtual register index.
Tuple Fields§
§0: u32
Implementations§
Source§impl NNpT0T1Addr
impl NNpT0T1Addr
Sourcepub const fn n_virtual_addr(&self) -> u8
pub const fn n_virtual_addr(&self) -> u8
Register N virtual register index. Default is R0.
Sourcepub fn set_n_virtual_addr(&mut self, val: u8)
pub fn set_n_virtual_addr(&mut self, val: u8)
Register N virtual register index. Default is R0.
Sourcepub const fn np_virtual_addr(&self) -> u8
pub const fn np_virtual_addr(&self) -> u8
Register Np virtual register index. Default is R1.
Sourcepub fn set_np_virtual_addr(&mut self, val: u8)
pub fn set_np_virtual_addr(&mut self, val: u8)
Register Np virtual register index. Default is R1.
Sourcepub const fn t0_virtual_addr(&self) -> u8
pub const fn t0_virtual_addr(&self) -> u8
Temporary register 0 virtual register index. Default is R30.
Sourcepub fn set_t0_virtual_addr(&mut self, val: u8)
pub fn set_t0_virtual_addr(&mut self, val: u8)
Temporary register 0 virtual register index. Default is R30.
Sourcepub const fn t1_virtual_addr(&self) -> u8
pub const fn t1_virtual_addr(&self) -> u8
Temporary register 1 virtual register index. Default is R31.
Sourcepub fn set_t1_virtual_addr(&mut self, val: u8)
pub fn set_t1_virtual_addr(&mut self, val: u8)
Temporary register 1 virtual register index. Default is R31.
Trait Implementations§
Source§impl Clone for NNpT0T1Addr
impl Clone for NNpT0T1Addr
Source§fn clone(&self) -> NNpT0T1Addr
fn clone(&self) -> NNpT0T1Addr
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 NNpT0T1Addr
impl Default for NNpT0T1Addr
Source§fn default() -> NNpT0T1Addr
fn default() -> NNpT0T1Addr
Returns the “default value” for a type. Read more
Source§impl PartialEq for NNpT0T1Addr
impl PartialEq for NNpT0T1Addr
impl Copy for NNpT0T1Addr
impl Eq for NNpT0T1Addr
impl StructuralPartialEq for NNpT0T1Addr
Auto Trait Implementations§
impl Freeze for NNpT0T1Addr
impl RefUnwindSafe for NNpT0T1Addr
impl Send for NNpT0T1Addr
impl Sync for NNpT0T1Addr
impl Unpin for NNpT0T1Addr
impl UnwindSafe for NNpT0T1Addr
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
)