pub enum CompareFunc {
Always,
Never,
Less,
Equal,
LessOrEqual,
Greater,
NotEqual,
GreaterOrEqual,
}
Expand description
Depth and stencil compare function
Variants
Always
Default value
Never
Less
Equal
LessOrEqual
Greater
NotEqual
GreaterOrEqual
Trait Implementations
sourceimpl Clone for CompareFunc
impl Clone for CompareFunc
sourcefn clone(&self) -> CompareFunc
fn clone(&self) -> CompareFunc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompareFunc
impl Debug for CompareFunc
sourceimpl From<CompareFunc> for GLenum
impl From<CompareFunc> for GLenum
sourcefn from(cf: CompareFunc) -> Self
fn from(cf: CompareFunc) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CompareFunc> for CompareFunc
impl PartialEq<CompareFunc> for CompareFunc
sourcefn eq(&self, other: &CompareFunc) -> bool
fn eq(&self, other: &CompareFunc) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for CompareFunc
impl StructuralPartialEq for CompareFunc
Auto Trait Implementations
impl RefUnwindSafe for CompareFunc
impl Send for CompareFunc
impl Sync for CompareFunc
impl Unpin for CompareFunc
impl UnwindSafe for CompareFunc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more