Enum gfx_core::texture::LayerError [] [src]

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

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 Clone for LayerError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LayerError
[src]

impl Debug for LayerError
[src]

Formats the value using the given formatter.

impl Eq for LayerError
[src]

impl Hash for LayerError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for LayerError
[src]

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

This method tests for !=.

impl Display for LayerError
[src]

Formats the value using the given formatter. Read more

impl Error for LayerError
[src]

A short description of the error. Read more

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