Enum gfx::format::ChannelSource []

#[repr(u8)]
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 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 Clone for ChannelSource

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ChannelSource

impl PartialOrd<ChannelSource> for ChannelSource

impl Copy for ChannelSource

impl Debug for ChannelSource

Formats the value using the given formatter.

impl Hash for ChannelSource

impl Ord for ChannelSource