Enum glsl_to_spirv::ShaderType [−][src]
pub enum ShaderType { Vertex, Fragment, Geometry, TessellationControl, TessellationEvaluation, Compute, }
Type of shader.
Variants
Vertex
Fragment
Geometry
TessellationControl
TessellationEvaluation
Compute
Trait Implementations
impl Debug for ShaderType
[src]
impl Debug for ShaderType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ShaderType
[src]
impl Clone for ShaderType
fn clone(&self) -> ShaderType
[src]
fn clone(&self) -> ShaderType
Returns 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 PartialEq for ShaderType
[src]
impl PartialEq for ShaderType
fn eq(&self, other: &ShaderType) -> bool
[src]
fn eq(&self, other: &ShaderType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ShaderType
[src]
impl Eq for ShaderType
Auto Trait Implementations
impl Send for ShaderType
impl Send for ShaderType
impl Sync for ShaderType
impl Sync for ShaderType