Enum gfx::format::ChannelType [] [src]

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 Debug for ChannelType

Formats the value using the given formatter.

impl Clone for ChannelType

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ChannelType

impl Hash for ChannelType

impl PartialOrd<ChannelType> 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 Ord for ChannelType

impl Eq for ChannelType