Struct abyss::dev::mmio::MmioAccessor
source · #[repr(transparent)]pub struct MmioAccessor<T, const R: bool, const W: bool>(pub *mut T);
Expand description
Type for accessing mmio register.
Tuple Fields§
§0: *mut T
Implementations§
source§impl<T, const W: bool> MmioAccessor<T, true, W>
impl<T, const W: bool> MmioAccessor<T, true, W>
Trait Implementations§
source§impl<T: Clone, const R: bool, const W: bool> Clone for MmioAccessor<T, R, W>
impl<T: Clone, const R: bool, const W: bool> Clone for MmioAccessor<T, R, W>
source§fn clone(&self) -> MmioAccessor<T, R, W>
fn clone(&self) -> MmioAccessor<T, R, W>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug, const R: bool, const W: bool> Debug for MmioAccessor<T, R, W>
impl<T: Debug, const R: bool, const W: bool> Debug for MmioAccessor<T, R, W>
impl<T: Copy, const R: bool, const W: bool> Copy for MmioAccessor<T, R, W>
impl<T, const R: bool, const W: bool> Send for MmioAccessor<T, R, W>
Auto Trait Implementations§
impl<T, const R: bool, const W: bool> RefUnwindSafe for MmioAccessor<T, R, W>where T: RefUnwindSafe,
impl<T, const R: bool, const W: bool> !Sync for MmioAccessor<T, R, W>
impl<T, const R: bool, const W: bool> Unpin for MmioAccessor<T, R, W>
impl<T, const R: bool, const W: bool> UnwindSafe for MmioAccessor<T, R, W>where T: RefUnwindSafe,
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,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more