Enum alacritty::renderer::shader::ShaderVersion
source · pub enum ShaderVersion {
Glsl3,
Gles2,
}
Variants§
Implementations§
source§impl ShaderVersion
impl ShaderVersion
fn shader_header(&self) -> &'static str
Trait Implementations§
source§impl Clone for ShaderVersion
impl Clone for ShaderVersion
source§fn clone(&self) -> ShaderVersion
fn clone(&self) -> ShaderVersion
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 ShaderVersion
impl Debug for ShaderVersion
impl Copy for ShaderVersion
Auto Trait Implementations§
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
source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.