pub struct WriteOnlyVolAddr<T> { /* private fields */ }
Expand description
Represents a simple MMIO address that can be written but not read.
Unlike with raw pointers, this type favors unsafe construction and then assumes that all usage is safe once the value has been constructed.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for WriteOnlyVolAddr<T>
impl<T: Clone> Clone for WriteOnlyVolAddr<T>
Source§fn clone(&self) -> WriteOnlyVolAddr<T>
fn clone(&self) -> WriteOnlyVolAddr<T>
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<T: Debug> Debug for WriteOnlyVolAddr<T>
impl<T: Debug> Debug for WriteOnlyVolAddr<T>
Source§impl<T> PartialEq for WriteOnlyVolAddr<T>
impl<T> PartialEq for WriteOnlyVolAddr<T>
impl<T: Copy> Copy for WriteOnlyVolAddr<T>
impl<T> Eq for WriteOnlyVolAddr<T>
Auto Trait Implementations§
impl<T> Freeze for WriteOnlyVolAddr<T>
impl<T> RefUnwindSafe for WriteOnlyVolAddr<T>where
T: RefUnwindSafe,
impl<T> Send for WriteOnlyVolAddr<T>where
T: Send,
impl<T> Sync for WriteOnlyVolAddr<T>where
T: Sync,
impl<T> Unpin for WriteOnlyVolAddr<T>where
T: Unpin,
impl<T> UnwindSafe for WriteOnlyVolAddr<T>where
T: UnwindSafe,
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