pub struct NoTermination;Expand description
Marker type indicating no termination.
Trait Implementations§
Source§impl Clone for NoTermination
impl Clone for NoTermination
Source§fn clone(&self) -> NoTermination
fn clone(&self) -> NoTermination
Returns a duplicate of the value. Read more
1.0.0 · 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 NoTermination
impl Debug for NoTermination
Source§impl Default for NoTermination
impl Default for NoTermination
Source§fn default() -> NoTermination
fn default() -> NoTermination
Returns the “default value” for a type. Read more
Source§impl<S: PlanningSolution, D: ScoreDirector<S>> MaybeTermination<S, D> for NoTermination
impl<S: PlanningSolution, D: ScoreDirector<S>> MaybeTermination<S, D> for NoTermination
Source§fn should_terminate(&self, _solver_scope: &SolverScope<'_, S, D>) -> bool
fn should_terminate(&self, _solver_scope: &SolverScope<'_, S, D>) -> bool
Checks if the solver should terminate.
Source§impl<S: PlanningSolution, D: ScoreDirector<S>> Termination<S, D> for NoTermination
impl<S: PlanningSolution, D: ScoreDirector<S>> Termination<S, D> for NoTermination
Source§fn is_terminated(&self, _solver_scope: &SolverScope<'_, S, D>) -> bool
fn is_terminated(&self, _solver_scope: &SolverScope<'_, S, D>) -> bool
Returns true if solving should terminate.
impl Copy for NoTermination
Auto Trait Implementations§
impl Freeze for NoTermination
impl RefUnwindSafe for NoTermination
impl Send for NoTermination
impl Sync for NoTermination
impl Unpin for NoTermination
impl UnwindSafe for NoTermination
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more