Enum gfx::texture::LayerError []

pub enum LayerError {
    NotExpected(Kind),
    OutOfBounds(u16u16),
}

An error associated with selected texture layer.

Variants

The source texture kind doesn't support array slices.

Selected layer is outside of the provided range.

Trait Implementations

impl PartialEq<LayerError> for LayerError

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

This method tests for !=.

impl Clone for LayerError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for LayerError

impl Display for LayerError

Formats the value using the given formatter.

impl Error for LayerError

A short description of the error. Read more

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

impl Copy for LayerError

impl Debug for LayerError

Formats the value using the given formatter.

impl Hash for LayerError