pub enum CompareFunction {
GreaterEqual,
Greater,
LessEqual,
Always,
}Expand description
Depth comparison functions.
Variants§
GreaterEqual
Pass when the fragment depth is greater or equal — the default under reversed depth, where nearer means larger.
Greater
Pass when strictly greater.
LessEqual
Pass when less or equal (forward depth).
Always
Always pass.
Trait Implementations§
Source§impl Clone for CompareFunction
impl Clone for CompareFunction
impl Copy for CompareFunction
Source§impl Debug for CompareFunction
impl Debug for CompareFunction
impl Eq for CompareFunction
Source§impl PartialEq for CompareFunction
impl PartialEq for CompareFunction
impl StructuralPartialEq for CompareFunction
Auto Trait Implementations§
impl Freeze for CompareFunction
impl RefUnwindSafe for CompareFunction
impl Send for CompareFunction
impl Sync for CompareFunction
impl Unpin for CompareFunction
impl UnsafeUnpin for CompareFunction
impl UnwindSafe for CompareFunction
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