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

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

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.

Implementations

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

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Returns the device that owns Self.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.