pub struct NoDynamicExtensions;Expand description
Empty registry used by host-language dynamic models.
Its distinct policy makes unsupported custom and partitioned declarations a compile-time graph error; no extension builder exists or is invoked.
Trait Implementations§
Source§impl<S, V, DM, IDM> RuntimeExtensionRegistry<S, V, DM, IDM> for NoDynamicExtensionswhere
S: PlanningSolution,
impl<S, V, DM, IDM> RuntimeExtensionRegistry<S, V, DM, IDM> for NoDynamicExtensionswhere
S: PlanningSolution,
type Phase = NoRuntimeExtensionPhase
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 Freeze for NoDynamicExtensions
impl RefUnwindSafe for NoDynamicExtensions
impl Send for NoDynamicExtensions
impl Sync for NoDynamicExtensions
impl Unpin for NoDynamicExtensions
impl UnsafeUnpin for NoDynamicExtensions
impl UnwindSafe for NoDynamicExtensions
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