pub enum GlDepthFunction {
Never,
Less,
Equal,
LessOrEqual,
Greater,
NotEqual,
GreaterOrEqual,
Always,
}Variants§
Trait Implementations§
Source§impl Clone for GlDepthFunction
impl Clone for GlDepthFunction
Source§fn clone(&self) -> GlDepthFunction
fn clone(&self) -> GlDepthFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GlDepthFunction
impl Debug for GlDepthFunction
Source§impl PartialEq for GlDepthFunction
impl PartialEq for GlDepthFunction
Source§fn eq(&self, other: &GlDepthFunction) -> bool
fn eq(&self, other: &GlDepthFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GlDepthFunction
impl Eq for GlDepthFunction
impl StructuralPartialEq for GlDepthFunction
Auto Trait Implementations§
impl Freeze for GlDepthFunction
impl RefUnwindSafe for GlDepthFunction
impl Send for GlDepthFunction
impl Sync for GlDepthFunction
impl Unpin for GlDepthFunction
impl UnsafeUnpin for GlDepthFunction
impl UnwindSafe for GlDepthFunction
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