pub struct AndCompositeTermination<S: PlanningSolution> { /* private fields */ }Expand description
Combines multiple terminations with AND logic.
All terminations must agree before solving terminates.
Implementations§
Source§impl<S: PlanningSolution> AndCompositeTermination<S>
impl<S: PlanningSolution> AndCompositeTermination<S>
pub fn new(terminations: Vec<Box<dyn Termination<S>>>) -> Self
Trait Implementations§
Source§impl<S: PlanningSolution> Debug for AndCompositeTermination<S>
impl<S: PlanningSolution> Debug for AndCompositeTermination<S>
Source§impl<S: PlanningSolution> Termination<S> for AndCompositeTermination<S>
impl<S: PlanningSolution> Termination<S> for AndCompositeTermination<S>
Source§fn is_terminated(&self, solver_scope: &SolverScope<S>) -> bool
fn is_terminated(&self, solver_scope: &SolverScope<S>) -> bool
Returns true if solving should terminate.
Auto Trait Implementations§
impl<S> Freeze for AndCompositeTermination<S>
impl<S> !RefUnwindSafe for AndCompositeTermination<S>
impl<S> Send for AndCompositeTermination<S>
impl<S> !Sync for AndCompositeTermination<S>
impl<S> Unpin for AndCompositeTermination<S>
impl<S> !UnwindSafe for AndCompositeTermination<S>
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