Struct vulkano::memory::CpuAccess
[−]
[src]
pub struct CpuAccess<'a, T: ?Sized + 'a, D = Arc<Device>> where D: SafeDeref<Target=Device> + 'a { /* fields omitted */ }
Object that can be used to read or write the content of a MappedDeviceMemory
.
Methods
impl<'a, T: ?Sized + 'a, D: 'a> CpuAccess<'a, T, D> where D: SafeDeref<Target=Device>
[src]
fn map<U: ?Sized + 'a, F>(self, f: F) -> CpuAccess<'a, U, D> where F: FnOnce(*mut T) -> *mut U
Makes a new CpuAccess
to access a sub-part of the current CpuAccess
.
Trait Implementations
impl<'a, T: ?Sized + 'a, D: 'a> Send for CpuAccess<'a, T, D> where D: SafeDeref<Target=Device>
[src]
impl<'a, T: ?Sized + 'a, D: 'a> Sync for CpuAccess<'a, T, D> where D: SafeDeref<Target=Device>
[src]
impl<'a, T: ?Sized + 'a, D: 'a> Deref for CpuAccess<'a, T, D> where D: SafeDeref<Target=Device>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<'a, T: ?Sized + 'a, D: 'a> DerefMut for CpuAccess<'a, T, D> where D: SafeDeref<Target=Device>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value