Struct vulkano::buffer::cpu_access::WriteLock[][src]

pub struct WriteLock<'a, T: ?Sized + 'a> { /* fields omitted */ }

Object that can be used to read or write the content of a CpuAccessibleBuffer.

Note that this object holds a rwlock write guard on the chunk. If another thread tries to access this buffer's content or tries to submit a GPU command that uses this buffer, it will block.

Methods

impl<'a, T: ?Sized + 'a> WriteLock<'a, T>
[src]

Makes a new WriteLock to access a sub-part of the current WriteLock.

Trait Implementations

impl<'a, T: ?Sized + 'a> Deref for WriteLock<'a, T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<'a, T: ?Sized + 'a> DerefMut for WriteLock<'a, T>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<'a, T> !Send for WriteLock<'a, T>

impl<'a, T: ?Sized> Sync for WriteLock<'a, T>