pub struct CpuAccess<'a, T: ?Sized + 'a> { /* private fields */ }
Expand description
Object that can be used to read or write the content of a MappedDeviceMemory
.
This object derefs to the content, just like a MutexGuard
for example.
Trait Implementations
impl<'a, T: ?Sized + 'a> Send for CpuAccess<'a, T>
impl<'a, T: ?Sized + 'a> Sync for CpuAccess<'a, T>
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for CpuAccess<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Unpin for CpuAccess<'a, T>
impl<'a, T: ?Sized> UnwindSafe for CpuAccess<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.