pub struct SearchAllPlan<P = u32, V = Comparand, N = Count> {
pub index: P,
pub store: StorePlan,
pub count: N,
pub keys: Vec<SearchKey<V>>,
}Expand description
SEARCH ALL’s binary search. The op returns Arm(0) on an occurrence whose keys equal their WHEN terms, for a Branch on the whole condition, and Arm(1) when the search ends without one.
Fields§
§index: PThe table’s first index, stored by store at each occurrence tried.
store: StorePlan§count: N§keys: Vec<SearchKey<V>>The keys the WHEN condition tests for equality, in the table’s KEY order.
Trait Implementations§
Source§impl<P, V, N> Clone for SearchAllPlan<P, V, N>
impl<P, V, N> Clone for SearchAllPlan<P, V, N>
Source§fn clone(&self) -> SearchAllPlan<P, V, N>
fn clone(&self) -> SearchAllPlan<P, V, N>
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<P, V, N> Debug for SearchAllPlan<P, V, N>
impl<P, V, N> Debug for SearchAllPlan<P, V, N>
Source§impl Decode for SearchAllPlan
impl Decode for SearchAllPlan
fn decode(r: &mut Reader<'_>) -> Result<SearchAllPlan, ModuleError>
impl<P, V, N> Eq for SearchAllPlan<P, V, N>
Source§impl<P, V, N> PartialEq for SearchAllPlan<P, V, N>
impl<P, V, N> PartialEq for SearchAllPlan<P, V, N>
impl<P, V, N> StructuralPartialEq for SearchAllPlan<P, V, N>
Auto Trait Implementations§
impl<P, V, N> Freeze for SearchAllPlan<P, V, N>
impl<P, V, N> RefUnwindSafe for SearchAllPlan<P, V, N>
impl<P, V, N> Send for SearchAllPlan<P, V, N>
impl<P, V, N> Sync for SearchAllPlan<P, V, N>
impl<P, V, N> Unpin for SearchAllPlan<P, V, N>
impl<P, V, N> UnsafeUnpin for SearchAllPlan<P, V, N>
impl<P, V, N> UnwindSafe for SearchAllPlan<P, V, N>
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