#[repr(i32)]pub enum CompareOp {
Never = 0,
Less = 1,
Equal = 2,
LessOrEqual = 3,
Greater = 4,
NotEqual = 5,
GreaterOrEqual = 6,
Always = 7,
}
Expand description
Stencil comparison function
Variants§
Never = 0
The test never passes
Less = 1
The test passes when Ref < Stencil
Equal = 2
The test passes when Ref == Stencil
LessOrEqual = 3
The test passes when Ref <= Stencil
Greater = 4
The test passes when Ref > Stencil
NotEqual = 5
The test passes when Ref != Stencil
GreaterOrEqual = 6
The test passes when Ref >= Stencil
Always = 7
The test always passes
Trait Implementations§
impl Copy for CompareOp
impl Eq for CompareOp
impl StructuralPartialEq for CompareOp
Auto Trait Implementations§
impl Freeze for CompareOp
impl RefUnwindSafe for CompareOp
impl Send for CompareOp
impl Sync for CompareOp
impl Unpin for CompareOp
impl UnwindSafe for CompareOp
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