#[repr(u32)]pub enum Compare {
Less = 513,
LessEqual = 515,
Greater = 516,
GreaterEqual = 518,
Equal = 514,
NotEqual = 517,
Always = 519,
Never = 512,
}
Expand description
Comparison operator.
Used in depth test, stencil test and sampling depth textures.
Variants§
Less = 513
LessEqual = 515
Greater = 516
GreaterEqual = 518
Equal = 514
NotEqual = 517
Always = 519
Never = 512
Trait Implementations§
impl Copy for Compare
impl Eq for Compare
impl StructuralPartialEq for Compare
Auto Trait Implementations§
impl Freeze for Compare
impl RefUnwindSafe for Compare
impl Send for Compare
impl Sync for Compare
impl Unpin for Compare
impl UnwindSafe for Compare
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