Enum vulkano::buffer::cpu_access::WriteLockError
[−]
[src]
pub enum WriteLockError { CpuLocked, GpuLocked, }
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
impl Clone for WriteLockError
[src]
fn clone(&self) -> WriteLockError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for WriteLockError
[src]
impl PartialEq for WriteLockError
[src]
fn eq(&self, __arg_0: &WriteLockError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for WriteLockError
[src]
impl Error for WriteLockError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more