Enum gfx::format::ChannelType []

pub enum ChannelType {
    Int,
    Uint,
    Inorm,
    Unorm,
    Float,
    Srgb,
}

Type of a surface channel. This is how we interpret the storage allocated with SurfaceType.

Variants

Trait Implementations

impl Eq for ChannelType

impl Ord for ChannelType

impl PartialEq<ChannelType> for ChannelType

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

This method tests for !=.

impl PartialOrd<ChannelType> for ChannelType

impl Hash for ChannelType

impl Copy for ChannelType

impl Clone for ChannelType

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ChannelType

Formats the value using the given formatter.