pub enum GuardExpr {
Predicate(Guard),
All(Vec<GuardExpr>),
Or(Vec<GuardExpr>),
Not(Box<GuardExpr>),
}Variants§
Implementations§
Source§impl GuardExpr
impl GuardExpr
Sourcepub fn is_disjoint_from(&self, other: &Self) -> bool
pub fn is_disjoint_from(&self, other: &Self) -> bool
Structural disjointness over the full combinator language.
Distribution is exact in both directions (Or needs every
arm disjoint, All needs one), so this proves rather than
assumes; anything without a proof overlaps. Linear, no worlds,
no enumeration, no cap.
Trait Implementations§
impl Eq for GuardExpr
impl StructuralPartialEq for GuardExpr
Auto Trait Implementations§
impl Freeze for GuardExpr
impl RefUnwindSafe for GuardExpr
impl Send for GuardExpr
impl Sync for GuardExpr
impl Unpin for GuardExpr
impl UnsafeUnpin for GuardExpr
impl UnwindSafe for GuardExpr
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