Enum gfx::format::ChannelSource [] [src]

pub enum ChannelSource {
    Zero,
    One,
    X,
    Y,
    Z,
    W,
}

Source channel in a swizzle configuration. Some may redirect onto different physical channels, some may be hardcoded to 0 or 1.

Variants

Zero
One
X
Y
Z
W

Trait Implementations

Derived Implementations

impl Debug for ChannelSource

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

impl Clone for ChannelSource

fn clone(&self) -> ChannelSource

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

impl Copy for ChannelSource

impl Hash for ChannelSource

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

impl PartialOrd<ChannelSource> for ChannelSource

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

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

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

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

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

impl PartialEq<ChannelSource> for ChannelSource

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

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

impl Ord for ChannelSource

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

impl Eq for ChannelSource