Enum mozangle::shaders::ffi::ShShaderSpec
source · #[repr(u32)]pub enum ShShaderSpec {
SH_GLES2_SPEC = 0,
SH_WEBGL_SPEC = 1,
SH_GLES3_SPEC = 2,
SH_WEBGL2_SPEC = 3,
SH_GLES3_1_SPEC = 4,
SH_WEBGL3_SPEC = 5,
SH_GLES3_2_SPEC = 6,
SH_GL_CORE_SPEC = 7,
SH_GL_COMPATIBILITY_SPEC = 8,
}
Variants§
SH_GLES2_SPEC = 0
SH_WEBGL_SPEC = 1
SH_GLES3_SPEC = 2
SH_WEBGL2_SPEC = 3
SH_GLES3_1_SPEC = 4
SH_WEBGL3_SPEC = 5
SH_GLES3_2_SPEC = 6
SH_GL_CORE_SPEC = 7
SH_GL_COMPATIBILITY_SPEC = 8
Trait Implementations§
source§impl Clone for ShShaderSpec
impl Clone for ShShaderSpec
source§fn clone(&self) -> ShShaderSpec
fn clone(&self) -> ShShaderSpec
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 ShShaderSpec
impl Debug for ShShaderSpec
source§impl Hash for ShShaderSpec
impl Hash for ShShaderSpec
source§impl PartialEq for ShShaderSpec
impl PartialEq for ShShaderSpec
source§fn eq(&self, other: &ShShaderSpec) -> bool
fn eq(&self, other: &ShShaderSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShShaderSpec
impl Eq for ShShaderSpec
impl StructuralPartialEq for ShShaderSpec
Auto Trait Implementations§
impl Freeze for ShShaderSpec
impl RefUnwindSafe for ShShaderSpec
impl Send for ShShaderSpec
impl Sync for ShShaderSpec
impl Unpin for ShShaderSpec
impl UnwindSafe for ShShaderSpec
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