Enum bedrock::CompareOp
[−]
[src]
#[repr(C)]pub enum CompareOp { Never, Less, Equal, LessOrEqual, Greater, NotEqual, GreaterOrEqual, Always, }
Stencil comparison function
Variants
Never
The test never passes
Less
The test passes when Ref < Stencil
Equal
The test passes when Ref == Stencil
LessOrEqual
The test passes when Ref <= Stencil
Greater
The test passes when Ref > Stencil
NotEqual
The test passes when Ref != Stencil
GreaterOrEqual
The test passes when Ref >= Stencil
Always
The test always passes
Trait Implementations
impl Debug for CompareOp
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CompareOp
[src]
fn clone(&self) -> CompareOp
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CompareOp
[src]
impl PartialEq for CompareOp
[src]
fn eq(&self, __arg_0: &CompareOp) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.