pub enum PropagationStrategy {
Auto,
Ac3,
Sweep,
}Expand description
Propagation strategy for propagate_with().
Variants§
Auto
Auto-select: AC-3 if finalize() was called, sweep otherwise.
Ac3
AC-3 worklist with adjacency graph. Requires finalize().
Sweep
Fixed-point sweep over all constraints. No adjacency needed.
Trait Implementations§
Source§impl Clone for PropagationStrategy
impl Clone for PropagationStrategy
Source§fn clone(&self) -> PropagationStrategy
fn clone(&self) -> PropagationStrategy
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 PropagationStrategy
impl Debug for PropagationStrategy
Source§impl PartialEq for PropagationStrategy
impl PartialEq for PropagationStrategy
Source§fn eq(&self, other: &PropagationStrategy) -> bool
fn eq(&self, other: &PropagationStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PropagationStrategy
impl Eq for PropagationStrategy
impl StructuralPartialEq for PropagationStrategy
Auto Trait Implementations§
impl Freeze for PropagationStrategy
impl RefUnwindSafe for PropagationStrategy
impl Send for PropagationStrategy
impl Sync for PropagationStrategy
impl Unpin for PropagationStrategy
impl UnsafeUnpin for PropagationStrategy
impl UnwindSafe for PropagationStrategy
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