[go: up one dir, main page]

Enum gfx::format::ChannelSource []

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 Eq for ChannelSource

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

impl Hash for ChannelSource

impl Copy for ChannelSource

impl Clone for ChannelSource

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ChannelSource

Formats the value using the given formatter.