pub struct BodyAtomPattern {
pub candidate_slot: u32,
pub bindings: Vec<PatternVar>,
}Expand description
One body atom: a candidate-relation slot plus its ordered bindings.
candidate_slot indexes the request’s candidate list (the same slot the
binary engine calls L/R indices); the binding vector length is the
atom’s arity and must match the slot’s declared relation arity.
Fields§
§candidate_slot: u32§bindings: Vec<PatternVar>Trait Implementations§
Source§impl Clone for BodyAtomPattern
impl Clone for BodyAtomPattern
Source§fn clone(&self) -> BodyAtomPattern
fn clone(&self) -> BodyAtomPattern
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 BodyAtomPattern
impl Debug for BodyAtomPattern
impl Eq for BodyAtomPattern
Source§impl Hash for BodyAtomPattern
impl Hash for BodyAtomPattern
Source§impl PartialEq for BodyAtomPattern
impl PartialEq for BodyAtomPattern
Source§fn eq(&self, other: &BodyAtomPattern) -> bool
fn eq(&self, other: &BodyAtomPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BodyAtomPattern
Auto Trait Implementations§
impl Freeze for BodyAtomPattern
impl RefUnwindSafe for BodyAtomPattern
impl Send for BodyAtomPattern
impl Sync for BodyAtomPattern
impl Unpin for BodyAtomPattern
impl UnsafeUnpin for BodyAtomPattern
impl UnwindSafe for BodyAtomPattern
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more