pub struct RelationPolymorphicPairFactory;Expand description
Factory for the relation.polymorphic_pair planner.
Trait Implementations§
Source§impl PlannerFactory for RelationPolymorphicPairFactory
impl PlannerFactory for RelationPolymorphicPairFactory
Source§fn descriptor(&self) -> &'static PlannerDescriptor
fn descriptor(&self) -> &'static PlannerDescriptor
This planner’s static description.
Source§fn compile(
&self,
config: &PlannerConfig,
context: &CompileContext<'_>,
) -> Result<Box<dyn CompiledPlanner>, DiagnosticBag>
fn compile( &self, config: &PlannerConfig, context: &CompileContext<'_>, ) -> Result<Box<dyn CompiledPlanner>, DiagnosticBag>
Validate
config and build a runtime planner, or return a
DiagnosticBag describing every problem found.Auto Trait Implementations§
impl Freeze for RelationPolymorphicPairFactory
impl RefUnwindSafe for RelationPolymorphicPairFactory
impl Send for RelationPolymorphicPairFactory
impl Sync for RelationPolymorphicPairFactory
impl Unpin for RelationPolymorphicPairFactory
impl UnsafeUnpin for RelationPolymorphicPairFactory
impl UnwindSafe for RelationPolymorphicPairFactory
Blanket Implementations§
impl<T> Allocation for T
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> 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