pub struct MmioRaw<T: ?Sized> { /* private fields */ }Expand description
Raw representation of an MMIO region.
MmioRaw<T> is equivalent to T __iomem * in C.
By itself, the existence of an instance of this structure does not provide any guarantees that the represented MMIO region does exist or is properly mapped.
Instead, the bus specific MMIO implementation must convert this raw representation into an
Mmio instance providing the actual memory accessors. Only by the conversion into an Mmio
structure any guarantees are given.
Implementations§
Trait Implementations§
impl<T: ?Sized> Copy for MmioRaw<T>
impl<T: ?Sized> Send for MmioRaw<T>
impl<T: ?Sized> Sync for MmioRaw<T>
Auto Trait Implementations§
impl<T> Freeze for MmioRaw<T>where
T: ?Sized,
impl<T> RefUnwindSafe for MmioRaw<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Unpin for MmioRaw<T>where
T: ?Sized,
impl<T> UnsafeUnpin for MmioRaw<T>where
T: ?Sized,
impl<T> UnwindSafe for MmioRaw<T>where
T: RefUnwindSafe + ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> KnownSize for T
impl<T> KnownSize for T
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more