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

Int
Uint
Inorm
Unorm
Float
Srgb

Trait Implementations

Derived Implementations

impl Debug for ChannelType

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

impl Clone for ChannelType

fn clone(&self) -> ChannelType

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

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>

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

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

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

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

impl PartialEq<ChannelType> for ChannelType

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

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

impl Ord for ChannelType

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

impl Eq for ChannelType