Enum webrender_build::shader::ShaderVersion
source · pub enum ShaderVersion {
Gl,
Gles,
}
Variants§
Implementations§
source§impl ShaderVersion
impl ShaderVersion
sourcepub fn variant_name(&self) -> &'static str
pub fn variant_name(&self) -> &'static str
Return the full variant name, for use in code generation.
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
source§impl Hash for ShaderVersion
impl Hash for ShaderVersion
source§impl Ord for ShaderVersion
impl Ord for ShaderVersion
source§fn cmp(&self, other: &ShaderVersion) -> Ordering
fn cmp(&self, other: &ShaderVersion) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ShaderVersion
impl PartialEq for ShaderVersion
source§impl PartialOrd for ShaderVersion
impl PartialOrd for ShaderVersion
impl Copy for ShaderVersion
impl Eq for ShaderVersion
impl StructuralPartialEq 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
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
)