pub struct CustomPhaseNode<Previous, Builder, Phase> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<S, V, DM, IDM, Previous, Builder, CurrentPhase> RuntimeExtensionRegistry<S, V, DM, IDM> for CustomPhaseNode<Previous, Builder, CurrentPhase>where
S: PlanningSolution,
Previous: RuntimeExtensionRegistry<S, V, DM, IDM>,
Builder: Fn(&SearchContext<S, V, DM, IDM>) -> CurrentPhase,
CurrentPhase: CustomSearchPhase<S>,
impl<S, V, DM, IDM, Previous, Builder, CurrentPhase> RuntimeExtensionRegistry<S, V, DM, IDM> for CustomPhaseNode<Previous, Builder, CurrentPhase>where
S: PlanningSolution,
Previous: RuntimeExtensionRegistry<S, V, DM, IDM>,
Builder: Fn(&SearchContext<S, V, DM, IDM>) -> CurrentPhase,
CurrentPhase: CustomSearchPhase<S>,
type Phase = CustomPhaseUnion<<Previous as RuntimeExtensionRegistry<S, V, DM, IDM>>::Phase, CurrentPhase>
fn policy(&self) -> RuntimeExtensionPolicy
fn contains_custom(&self, name: &str) -> bool
fn instantiate_custom( &self, name: &str, context: &SearchContext<S, V, DM, IDM>, ) -> Option<Self::Phase>
fn contains_partitioned(&self, name: &str) -> bool
fn instantiate_partitioned( &self, name: &str, config: &PartitionedSearchConfig, context: &SearchContext<S, V, DM, IDM>, ) -> Option<Self::Phase>
Auto Trait Implementations§
impl<Previous, Builder, Phase> Freeze for CustomPhaseNode<Previous, Builder, Phase>
impl<Previous, Builder, Phase> RefUnwindSafe for CustomPhaseNode<Previous, Builder, Phase>where
Previous: RefUnwindSafe,
Builder: RefUnwindSafe,
impl<Previous, Builder, Phase> Send for CustomPhaseNode<Previous, Builder, Phase>
impl<Previous, Builder, Phase> Sync for CustomPhaseNode<Previous, Builder, Phase>
impl<Previous, Builder, Phase> Unpin for CustomPhaseNode<Previous, Builder, Phase>
impl<Previous, Builder, Phase> UnsafeUnpin for CustomPhaseNode<Previous, Builder, Phase>where
Previous: UnsafeUnpin,
Builder: UnsafeUnpin,
impl<Previous, Builder, Phase> UnwindSafe for CustomPhaseNode<Previous, Builder, Phase>where
Previous: UnwindSafe,
Builder: 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
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