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 Clone for OutputVar[src]

impl Debug for OutputVar[src]

impl Eq for OutputVar[src]

impl Hash for OutputVar[src]

impl PartialEq<OutputVar> for OutputVar[src]

impl StructuralEq for OutputVar[src]

impl StructuralPartialEq for OutputVar[src]

Auto Trait Implementations

impl RefUnwindSafe for OutputVar

impl Send for OutputVar

impl Sync for OutputVar

impl Unpin for OutputVar

impl UnwindSafe for OutputVar

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.