[−][src]Struct rusqlite::vtab::IndexInfo
Pass information into and receive the reply from the VTab.best_index
method.
(See SQLite doc)
Methods
impl IndexInfo
[src]
ⓘImportant traits for IndexConstraintIter<'a>pub fn constraints(&self) -> IndexConstraintIter
[src]
ⓘImportant traits for IndexConstraintIter<'a>
Record WHERE clause constraints.
ⓘImportant traits for OrderByIter<'a>pub fn order_bys(&self) -> OrderByIter
[src]
ⓘImportant traits for OrderByIter<'a>
Information about the ORDER BY clause.
pub fn num_of_order_by(&self) -> usize
[src]
Number of terms in the ORDER BY clause
pub fn constraint_usage(
&mut self,
constraint_idx: usize
) -> IndexConstraintUsage
[src]
&mut self,
constraint_idx: usize
) -> IndexConstraintUsage
pub fn set_idx_num(&mut self, idx_num: c_int)
[src]
Number used to identify the index
pub fn set_order_by_consumed(&mut self, order_by_consumed: bool)
[src]
True if output is already ordered
pub fn set_estimated_cost(&mut self, estimated_ost: f64)
[src]
Estimated cost of using this index
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,