pub struct IndexConstraintUsage {
pub argv_index: i32,
pub omit: bool,
}Expand description
Per-constraint usage information set by best_index.
Fields§
§argv_index: i321-based index into the args array passed to filter.
Non-positive values mean this constraint supplies no argument. All
positive values returned by one best_index call must be unique and
form a contiguous sequence starting at 1.
omit: boolIf true, the vtab guarantees this constraint is satisfied and
the core need not double-check it. This is only effective when
argv_index is positive; constraints that supply no filter argument
remain subject to core evaluation.
Trait Implementations§
Source§impl Clone for IndexConstraintUsage
impl Clone for IndexConstraintUsage
Source§fn clone(&self) -> IndexConstraintUsage
fn clone(&self) -> IndexConstraintUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexConstraintUsage
impl Debug for IndexConstraintUsage
Source§impl Default for IndexConstraintUsage
impl Default for IndexConstraintUsage
Source§fn default() -> IndexConstraintUsage
fn default() -> IndexConstraintUsage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexConstraintUsage
impl RefUnwindSafe for IndexConstraintUsage
impl Send for IndexConstraintUsage
impl Sync for IndexConstraintUsage
impl Unpin for IndexConstraintUsage
impl UnsafeUnpin for IndexConstraintUsage
impl UnwindSafe for IndexConstraintUsage
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