Struct sqlite_loadable::table::Constraint
source · pub struct Constraint {
pub constraint: sqlite3_index_info_sqlite3_index_constraint,
pub usage: *mut sqlite3_index_info_sqlite3_index_constraint_usage,
/* private fields */
}Expand description
Wraps the raw sqlite3_index_constraint and sqlite3_index_constraint_usage C structs for ergonomic use in Rust.
Fields§
§constraint: sqlite3_index_info_sqlite3_index_constraint§usage: *mut sqlite3_index_info_sqlite3_index_constraint_usageImplementations§
source§impl Constraint
impl Constraint
pub fn column_idx(&self) -> i32
pub fn usable(&self) -> bool
pub fn op(&self) -> Option<ConstraintOperator>
pub fn set_argv_index(&mut self, i: i32)
pub fn set_omit(&mut self, value: bool)
pub fn can_process_all_in(&self) -> bool
pub fn enable_process_all_in(&self) -> bool
pub fn disable_process_all_in(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Constraint
impl !Send for Constraint
impl !Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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