pub struct Boolean<VStore> { /* private fields */ }
Implementations§
Source§impl<VStore, Domain, Bound> Boolean<VStore>where
VStore: VStoreConcept<Item = Domain>,
Domain: Range + Collection<Item = Bound> + Clone + Debug + 'static,
Bound: Num,
impl<VStore, Domain, Bound> Boolean<VStore>where
VStore: VStoreConcept<Item = Domain>,
Domain: Range + Collection<Item = Bound> + Clone + Debug + 'static,
Bound: Num,
pub fn new(vstore: &mut VStore) -> Self
Trait Implementations§
Source§impl<VStore> Clone for Boolean<VStore>where
VStore: Collection,
impl<VStore> Clone for Boolean<VStore>where
VStore: Collection,
Source§impl<VStore> DisplayStateful<Model> for Boolean<VStore>
impl<VStore> DisplayStateful<Model> for Boolean<VStore>
Source§impl<VStore, Domain, Bound> NotFormula<VStore> for Boolean<VStore>where
VStore: VStoreConcept<Item = Domain> + 'static,
Domain: IntDomain<Item = Bound> + 'static,
Bound: IntBound + 'static,
impl<VStore, Domain, Bound> NotFormula<VStore> for Boolean<VStore>where
VStore: VStoreConcept<Item = Domain> + 'static,
Domain: IntDomain<Item = Bound> + 'static,
Bound: IntBound + 'static,
Source§impl<VStore, Dom, Bound> Propagator<VStore> for Boolean<VStore>
impl<VStore, Dom, Bound> Propagator<VStore> for Boolean<VStore>
Source§fn propagate(&mut self, vstore: &mut VStore) -> bool
fn propagate(&mut self, vstore: &mut VStore) -> bool
Returns
false
if it failed to propagate (a variable has an empty domain after propagation).Source§impl<VStore> PropagatorDependencies<FDEvent> for Boolean<VStore>
impl<VStore> PropagatorDependencies<FDEvent> for Boolean<VStore>
Source§impl<VStore> StoreMonotonicUpdate<VStore> for Boolean<VStore>where
VStore: VStoreConcept,
impl<VStore> StoreMonotonicUpdate<VStore> for Boolean<VStore>where
VStore: VStoreConcept,
Source§impl<VStore> StoreRead<VStore> for Boolean<VStore>where
VStore: VStoreConcept,
impl<VStore> StoreRead<VStore> for Boolean<VStore>where
VStore: VStoreConcept,
Source§impl<VStore, Dom, Bound> Subsumption<VStore> for Boolean<VStore>
impl<VStore, Dom, Bound> Subsumption<VStore> for Boolean<VStore>
fn is_subsumed(&self, store: &VStore) -> SKleene
Auto Trait Implementations§
impl<VStore> Freeze for Boolean<VStore>
impl<VStore> !RefUnwindSafe for Boolean<VStore>
impl<VStore> !Send for Boolean<VStore>
impl<VStore> !Sync for Boolean<VStore>
impl<VStore> Unpin for Boolean<VStore>
impl<VStore> !UnwindSafe for Boolean<VStore>
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