Enum wgpu_core::resource::CreateBufferError [−][src]
pub enum CreateBufferError {
Device(DeviceError),
AccessError(BufferAccessError),
UnalignedSize,
EmptyUsage,
UsageMismatch(BufferUsages),
}
Variants
Device(DeviceError)
Tuple Fields of Device
0: DeviceError
AccessError(BufferAccessError)
Tuple Fields of AccessError
UsageMismatch(BufferUsages)
Tuple Fields of UsageMismatch
0: BufferUsages
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CreateBufferError
impl Send for CreateBufferError
impl Sync for CreateBufferError
impl Unpin for CreateBufferError
impl UnwindSafe for CreateBufferError
Blanket Implementations
Mutably borrows from an owned value. Read more