pub struct RegistersMut<'a> { /* private fields */ }Expand description
RAII guard returned by Cpu::registers_mut.
Dereferences to Registers, giving full read/write access to all
programmer-visible registers. On drop the guard arms the NMI if the
hardware stack pointer (S) changed during the guard’s lifetime.
Trait Implementations§
Source§impl Deref for RegistersMut<'_>
impl Deref for RegistersMut<'_>
Source§impl DerefMut for RegistersMut<'_>
impl DerefMut for RegistersMut<'_>
Auto Trait Implementations§
impl<'a> Freeze for RegistersMut<'a>
impl<'a> RefUnwindSafe for RegistersMut<'a>
impl<'a> Send for RegistersMut<'a>
impl<'a> Sync for RegistersMut<'a>
impl<'a> Unpin for RegistersMut<'a>
impl<'a> UnsafeUnpin for RegistersMut<'a>
impl<'a> !UnwindSafe for RegistersMut<'a>
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