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 Error for CreationError

A short description of the error. Read more

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

impl Eq for CreationError

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 Clone for CreationError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for CreationError

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Copy for CreationError

impl Debug for CreationError

Formats the value using the given formatter.

impl Display for CreationError

Formats the value using the given formatter. Read more