Enum gfx::buffer::CreationError []

pub enum CreationError {
    UnsupportedBind(Bind),
    Other,
    UnsupportedUsage(Usage),
}

Error creating a buffer.

Variants

Some of the bind flags are not supported.

Unknown other error.

Usage mode is not supported

Trait Implementations

impl Debug for CreationError

Formats the value using the given formatter.

impl PartialEq<CreationError> for CreationError

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for CreationError

Formats the value using the given formatter.

impl Error for CreationError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Hash for CreationError

impl Eq for CreationError

impl Copy for CreationError

impl Clone for CreationError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more