pub struct Placement<S, M>where
S: PlanningSolution,
M: Move<S>,{
pub entity_ref: EntityReference,
pub moves: Vec<M>,
/* private fields */
}Expand description
A placement represents an entity that needs a value assigned, along with the candidate moves to assign values.
§Type Parameters
S- The planning solution typeM- The move type
Fields§
§entity_ref: EntityReferenceThe entity reference.
moves: Vec<M>Candidate moves for this placement.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S, M> Freeze for Placement<S, M>
impl<S, M> RefUnwindSafe for Placement<S, M>where
S: RefUnwindSafe,
M: RefUnwindSafe,
impl<S, M> Send for Placement<S, M>
impl<S, M> Sync for Placement<S, M>
impl<S, M> Unpin for Placement<S, M>
impl<S, M> UnwindSafe for Placement<S, M>where
S: UnwindSafe,
M: 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