Struct gfx::shade::core::OutputVar []

pub struct OutputVar {
    pub name: String,
    pub slot: u8,
    pub base_type: BaseType,
    pub container: ContainerType,
}

Target output variable.

Fields

name: String

Name of this output variable.

slot: u8

Output color target index.

base_type: BaseType

Type of the output component.

container: ContainerType

"Scalarness" of this output.

Trait Implementations

impl Debug for OutputVar

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

Formats the value using the given formatter.

impl PartialEq<OutputVar> for OutputVar

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

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