Enum gfx_core::shade::Stage [−][src]
#[repr(u8)]pub enum Stage { Vertex, Hull, Domain, Geometry, Pixel, }
Which program stage this shader represents.
Variants
VertexHullDomainGeometryPixel
Trait Implementations
impl Clone for Stage[src]
impl Clone for Stagefn clone(&self) -> Stage[src]
fn clone(&self) -> StageReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Stage[src]
impl Copy for Stageimpl Debug for Stage[src]
impl Debug for Stagefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Stage[src]
impl Eq for Stageimpl Hash for Stage[src]
impl Hash for Stagefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for Stage[src]
impl PartialEq for Stagefn eq(&self, other: &Stage) -> bool[src]
fn eq(&self, other: &Stage) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl From<Stage> for Usage[src]
impl From<Stage> for Usage