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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)