pub struct ConstraintUsage {
pub argument: usize,
pub omit: bool,
}Expand description
What the module decided to do with one constraint.
Fields§
§argument: usizeThe one-based position the value is passed to filter in, or zero when
the constraint is not used.
omit: boolWhether the engine may stop testing this constraint itself.
The module promising, not the engine assuming. A module that sets this and then does not apply the constraint returns wrong rows, which is why the default is to test it twice.
Trait Implementations§
Source§impl Clone for ConstraintUsage
impl Clone for ConstraintUsage
impl Copy for ConstraintUsage
Source§impl Debug for ConstraintUsage
impl Debug for ConstraintUsage
Source§impl Default for ConstraintUsage
impl Default for ConstraintUsage
impl Eq for ConstraintUsage
Source§impl PartialEq for ConstraintUsage
impl PartialEq for ConstraintUsage
impl StructuralPartialEq for ConstraintUsage
Auto Trait Implementations§
impl Freeze for ConstraintUsage
impl RefUnwindSafe for ConstraintUsage
impl Send for ConstraintUsage
impl Sync for ConstraintUsage
impl Unpin for ConstraintUsage
impl UnsafeUnpin for ConstraintUsage
impl UnwindSafe for ConstraintUsage
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