Enum tea::glsl::ShaderType
source · pub enum ShaderType {
VertexShader,
FragmentShader,
GeometryShader,
ComputeShader,
}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 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 ==.source§impl PartialOrd<ShaderType> for ShaderType
impl PartialOrd<ShaderType> for ShaderType
source§fn partial_cmp(&self, other: &ShaderType) -> Option<Ordering>
fn partial_cmp(&self, other: &ShaderType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ShaderType
impl Eq for ShaderType
impl StructuralEq for ShaderType
impl StructuralPartialEq for ShaderType
Auto Trait Implementations§
impl RefUnwindSafe for ShaderType
impl Send for ShaderType
impl Sync for ShaderType
impl Unpin for ShaderType
impl UnwindSafe for ShaderType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more