pub enum UnsafeWrite {}Expand description
A tag for unsafe register write access: this is when writes to the register may contextually violate the memory model (e.g., system register that toggles the MMU or in modeling a page table entry as a register). In such cases, the user must attest to any given write being sound.
Trait Implementations§
Source§impl Clone for UnsafeWrite
impl Clone for UnsafeWrite
Source§fn clone(&self) -> UnsafeWrite
fn clone(&self) -> UnsafeWrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnsafeWrite
Auto Trait Implementations§
impl Freeze for UnsafeWrite
impl RefUnwindSafe for UnsafeWrite
impl Send for UnsafeWrite
impl Sync for UnsafeWrite
impl Unpin for UnsafeWrite
impl UnsafeUnpin for UnsafeWrite
impl UnwindSafe for UnsafeWrite
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)