pub struct BindingSet { /* private fields */ }Expand description
The currently-bound partition-key tuples of one family pipeline (design §4.1’s
“binding-set handle”). Shared (Rc) between the root connection’s predicate and
the graph’s bind/unbind path; interior-mutable, but mutated ONLY between pushes
(impl plan D3) — the predicate takes a momentary shared borrow per row.
Implementations§
Source§impl BindingSet
impl BindingSet
pub fn new() -> Rc<BindingSet>
Sourcepub fn contains_row(&self, row: &OwnedRow, cols: &[ColId]) -> bool
pub fn contains_row(&self, row: &OwnedRow, cols: &[ColId]) -> bool
The membership test of design §4.1: is row’s partition-key tuple (its cols
cells, canonicalized) currently bound? Never holds the borrow across a vend.
pub fn contains(&self, b: &CanonKey) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Debug for BindingSet
impl Debug for BindingSet
Source§impl Default for BindingSet
impl Default for BindingSet
Source§fn default() -> BindingSet
fn default() -> BindingSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for BindingSet
impl !RefUnwindSafe for BindingSet
impl Send for BindingSet
impl !Sync for BindingSet
impl Unpin for BindingSet
impl UnsafeUnpin for BindingSet
impl UnwindSafe for BindingSet
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