Struct gfx::shade::core::OutputVar
[−]
[src]
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 Hash for OutputVar[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for OutputVar[src]
fn clone(&self) -> OutputVar[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<OutputVar> for OutputVar[src]
fn eq(&self, __arg_0: &OutputVar) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &OutputVar) -> bool[src]
This method tests for !=.
impl Debug for OutputVar[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.