Enum sfml::graphics::ShaderType
source · #[repr(C)]
pub enum ShaderType {
Vertex,
Geometry,
Fragment,
}
Expand description
Types of shaders
Variants§
Trait Implementations§
source§impl Clone for ShaderType
impl Clone for ShaderType
source§fn clone(&self) -> ShaderType
fn clone(&self) -> ShaderType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShaderType
impl Debug for ShaderType
source§impl PartialEq<ShaderType> for ShaderType
impl PartialEq<ShaderType> for ShaderType
source§fn eq(&self, other: &ShaderType) -> bool
fn eq(&self, other: &ShaderType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.