pub struct ImplicationConstraint<V: Clone + PartialEq + Debug> { /* private fields */ }Expand description
antecedent = trigger → consequent ∈ allowed.
When antecedent is bound to trigger, prune all values from
consequent that are not in allowed. The antecedent is never
pruned by this constraint — only the consequent.
Implementations§
Trait Implementations§
Source§impl<V: Clone + Clone + PartialEq + Debug> Clone for ImplicationConstraint<V>
impl<V: Clone + Clone + PartialEq + Debug> Clone for ImplicationConstraint<V>
Source§fn clone(&self) -> ImplicationConstraint<V>
fn clone(&self) -> ImplicationConstraint<V>
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 moreAuto Trait Implementations§
impl<V> Freeze for ImplicationConstraint<V>where
V: Freeze,
impl<V> RefUnwindSafe for ImplicationConstraint<V>where
V: RefUnwindSafe,
impl<V> Send for ImplicationConstraint<V>where
V: Send,
impl<V> Sync for ImplicationConstraint<V>where
V: Sync,
impl<V> Unpin for ImplicationConstraint<V>where
V: Unpin,
impl<V> UnsafeUnpin for ImplicationConstraint<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for ImplicationConstraint<V>where
V: UnwindSafe,
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