Struct gfx_core::shade::OutputVar [] [src]

pub struct OutputVar {
    pub name: String,
    pub slot: ColorSlot,
}

Target output variable.

Fields

name: String

Name of this output variable.

slot: ColorSlot

Output color target index.

Trait Implementations

impl Debug for OutputVar
[src]

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

Formats the value using the given formatter.

impl PartialEq for OutputVar
[src]

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

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

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

This method tests for !=.

impl Clone for OutputVar
[src]

fn clone(&self) -> OutputVar

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more