Skip to main content

EntityPlacer

Trait EntityPlacer 

Source
pub trait EntityPlacer<S, M>: Send + Debug
where S: PlanningSolution, M: Move<S>,
{ type Cursor<'a>: EntityPlacerCursor<S, M> + 'a where Self: 'a; // Required method fn open_cursor<'a, D: Director<S>>( &'a self, score_director: &D, ) -> Self::Cursor<'a>; }

Required Associated Types§

Source

type Cursor<'a>: EntityPlacerCursor<S, M> + 'a where Self: 'a

Required Methods§

Source

fn open_cursor<'a, D: Director<S>>( &'a self, score_director: &D, ) -> Self::Cursor<'a>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S, M, Inner> EntityPlacer<S, M> for SortedEntityPlacer<S, M, Inner>
where S: PlanningSolution, M: Move<S>, Inner: EntityPlacer<S, M>,

Source§

type Cursor<'a> = SortedEntityPlacerCursor<'a, S, M, Inner> where Self: 'a

Source§

impl<S, V, ES, VS> EntityPlacer<S, ChangeMove<S, V>> for QueuedEntityPlacer<S, V, ES, VS>
where S: PlanningSolution, V: Clone + PartialEq + Send + Sync + Debug + 'static, ES: EntitySelector<S>, VS: ValueSelector<S, V>,

Source§

type Cursor<'a> = QueuedEntityPlacerCursor<'a, S, V, ES, VS> where Self: 'a