pub struct Path<S> {
pub states: Vec<S>,
pub cost: f64,
}Expand description
A solution path.
Fields§
§states: Vec<S>The states from the start to a state in the goal region. Never empty.
cost: f64The path length under StateSpace::distance.
Trait Implementations§
impl<S: PartialEq> StructuralPartialEq for Path<S>
Auto Trait Implementations§
impl<S> Forget for Path<S>
impl<S> Freeze for Path<S>
impl<S> Move for Path<S>
impl<S> RefUnwindSafe for Path<S>where
Vec<S>: RefUnwindSafe,
impl<S> Send for Path<S>
impl<S> Sync for Path<S>
impl<S> Unpin for Path<S>
impl<S> UnsafeUnpin for Path<S>where
Vec<S>: UnsafeUnpin,
impl<S> UnwindSafe for Path<S>where
Vec<S>: 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