pub enum DescriptorLeafSelector<S> {
Change(DescriptorChangeMoveSelector<S>),
Swap(DescriptorSwapMoveSelector<S>),
NearbyChange(DescriptorNearbyChangeMoveSelector<S>),
NearbySwap(DescriptorNearbySwapMoveSelector<S>),
PillarChange(DescriptorPillarChangeMoveSelector<S>),
PillarSwap(DescriptorPillarSwapMoveSelector<S>),
RuinRecreate(DescriptorRuinRecreateMoveSelector<S>),
}Variants§
Change(DescriptorChangeMoveSelector<S>)
Swap(DescriptorSwapMoveSelector<S>)
NearbyChange(DescriptorNearbyChangeMoveSelector<S>)
NearbySwap(DescriptorNearbySwapMoveSelector<S>)
PillarChange(DescriptorPillarChangeMoveSelector<S>)
PillarSwap(DescriptorPillarSwapMoveSelector<S>)
RuinRecreate(DescriptorRuinRecreateMoveSelector<S>)
Trait Implementations§
Source§impl<S> Debug for DescriptorLeafSelector<S>where
S: PlanningSolution,
impl<S> Debug for DescriptorLeafSelector<S>where
S: PlanningSolution,
Source§impl<S> MoveSelector<S, DescriptorMoveUnion<S>> for DescriptorLeafSelector<S>
impl<S> MoveSelector<S, DescriptorMoveUnion<S>> for DescriptorLeafSelector<S>
type Cursor<'a> = ArenaMoveCursor<S, DescriptorMoveUnion<S>> where Self: 'a
fn open_cursor<'a, D: Director<S>>( &'a self, score_director: &D, ) -> Self::Cursor<'a>
fn size<D: Director<S>>(&self, score_director: &D) -> usize
fn iter_moves<'a, D: Director<S>>( &'a self, score_director: &D, ) -> MoveSelectorIter<S, M, Self::Cursor<'a>> ⓘ
fn append_moves<D: Director<S>>( &self, score_director: &D, arena: &mut MoveArena<M>, )
fn is_never_ending(&self) -> bool
Auto Trait Implementations§
impl<S> !Freeze for DescriptorLeafSelector<S>
impl<S> !RefUnwindSafe for DescriptorLeafSelector<S>
impl<S> Send for DescriptorLeafSelector<S>
impl<S> !Sync for DescriptorLeafSelector<S>
impl<S> Unpin for DescriptorLeafSelector<S>
impl<S> UnsafeUnpin for DescriptorLeafSelector<S>
impl<S> !UnwindSafe for DescriptorLeafSelector<S>
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