pub struct EirConstraint {
pub body: Vec<EirBodyLiteral>,
}Expand description
Integrity constraint represented at the EIR boundary.
A constraint has no head: the conjunction of its body literals must never
be satisfiable. Epistemic body literals are preserved first-class so that
know/possible integrity constraints constrain accepted world views,
rather than being silently rewritten into ordinary relational constraints.
Fields§
§body: Vec<EirBodyLiteral>Constraint body whose conjunction must never hold in an accepted world view.
Trait Implementations§
Source§impl Clone for EirConstraint
impl Clone for EirConstraint
Source§fn clone(&self) -> EirConstraint
fn clone(&self) -> EirConstraint
Returns a duplicate of the value. Read more
1.0.0 · 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 EirConstraint
impl Debug for EirConstraint
Source§impl PartialEq for EirConstraint
impl PartialEq for EirConstraint
impl Eq for EirConstraint
impl StructuralPartialEq for EirConstraint
Auto Trait Implementations§
impl Freeze for EirConstraint
impl RefUnwindSafe for EirConstraint
impl Send for EirConstraint
impl Sync for EirConstraint
impl Unpin for EirConstraint
impl UnsafeUnpin for EirConstraint
impl UnwindSafe for EirConstraint
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
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