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

Trait Implementations

impl Debug for ChannelSource

Formats the value using the given formatter.

impl Clone for ChannelSource

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ChannelSource

impl Hash for ChannelSource

impl PartialOrd<ChannelSource> for ChannelSource

impl PartialEq<ChannelSource> for ChannelSource

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

This method tests for !=.

impl Ord for ChannelSource

impl Eq for ChannelSource