pub enum CheckFillBufferError {
BufferMissingUsage,
WrongAlignment,
}
Expand description
Error that can happen when attempting to add a fill_buffer
command.
Variants
BufferMissingUsage
The “transfer destination” usage must be enabled on the buffer.
WrongAlignment
The data or size must be 4-bytes aligned.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CheckFillBufferError
impl Send for CheckFillBufferError
impl Sync for CheckFillBufferError
impl Unpin for CheckFillBufferError
impl UnwindSafe for CheckFillBufferError
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.