pub enum ShaderVersion {
Gles3,
Gles1,
}Expand description
The GLSL shader version to use
This effects the version heading added automatically to the top of the shader strings provided to luminance.
Variants§
Trait Implementations§
Source§impl Clone for ShaderVersion
impl Clone for ShaderVersion
Source§fn clone(&self) -> ShaderVersion
fn clone(&self) -> ShaderVersion
Returns a duplicate 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 ShaderVersion
impl Debug for ShaderVersion
impl Copy for ShaderVersion
Auto Trait Implementations§
impl Freeze for ShaderVersion
impl RefUnwindSafe for ShaderVersion
impl Send for ShaderVersion
impl Sync for ShaderVersion
impl Unpin for ShaderVersion
impl UnwindSafe for ShaderVersion
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