Enum gfx::device::tex::Components [] [src]

pub enum Components {
    R,
    RG,
    RGB,
    RGBA,
}

Describes the color components of each texel.

Variants

R

Red only

RG

Red and green

RGB

Red, green, blue

RGBA

Red, green, blue, alpha

Trait Implementations

Derived Implementations

impl Debug for Components

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

impl Clone for Components

fn clone(&self) -> Components

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

impl Copy for Components

impl Hash for Components

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

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialOrd for Components

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

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

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

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

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

impl PartialEq for Components

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

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

impl Ord for Components

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

impl Eq for Components