Enum vulkano::buffer::cpu_access::WriteLockError
source · [−]pub enum WriteLockError {
CpuLocked,
GpuLocked,
}
Expand description
Error when attempting to CPU-write a buffer.
Variants
CpuLocked
The buffer is already locked by the CPU.
GpuLocked
The buffer is already locked by the GPU.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WriteLockError
impl Send for WriteLockError
impl Sync for WriteLockError
impl Unpin for WriteLockError
impl UnwindSafe for WriteLockError
Blanket Implementations
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.