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
.
This object derefs to the content, just like a MutexGuard
for example.
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