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

IntUintInormUnormFloatSrgb

Trait Implementations

impl Debug for ChannelType

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Clone for ChannelType

fn clone(&self) -> ChannelType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for ChannelType

impl Hash for ChannelType

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl PartialOrd<ChannelType> for ChannelType

fn partial_cmp(&self, __arg_0: &ChannelType) -> Option<Ordering>

impl PartialEq<ChannelType> for ChannelType

fn eq(&self, __arg_0: &ChannelType) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Ord for ChannelType

fn cmp(&self, __arg_0: &ChannelType) -> Ordering

impl Eq for ChannelType