pub struct StateParentCumulativeCost<S, C> { /* private fields */ }Expand description
Internal.
Used to represent states with the added context of their parent state & cumulative rolling cost for A* based solution route-yielding managers.
Trait Implementations§
Source§impl<S, C> AsRef<S> for StateParentCumulativeCost<S, C>
impl<S, C> AsRef<S> for StateParentCumulativeCost<S, C>
Source§impl<S: Clone, C: Clone> Clone for StateParentCumulativeCost<S, C>
impl<S: Clone, C: Clone> Clone for StateParentCumulativeCost<S, C>
Source§fn clone(&self) -> StateParentCumulativeCost<S, C>
fn clone(&self) -> StateParentCumulativeCost<S, C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S, C> From<StateParentCumulativeCost<S, C>> for StateParent<S>
impl<S, C> From<StateParentCumulativeCost<S, C>> for StateParent<S>
Source§fn from(_: StateParentCumulativeCost<S, C>) -> Self
fn from(_: StateParentCumulativeCost<S, C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<S, C> Freeze for StateParentCumulativeCost<S, C>
impl<S, C> RefUnwindSafe for StateParentCumulativeCost<S, C>where
S: RefUnwindSafe,
C: RefUnwindSafe,
impl<S, C> Send for StateParentCumulativeCost<S, C>
impl<S, C> Sync for StateParentCumulativeCost<S, C>
impl<S, C> Unpin for StateParentCumulativeCost<S, C>
impl<S, C> UnwindSafe for StateParentCumulativeCost<S, C>where
S: UnwindSafe,
C: 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