pub struct Solution<S, W> {
pub cost: W,
pub path: Vec<S>,
}Expand description
One Pareto-optimal path.
Fields§
§cost: WTotal cost vector of Solution::path.
path: Vec<S>States from the start to a goal, both included. Never empty.
Trait Implementations§
impl<S: Eq, W: Eq> Eq for Solution<S, W>
impl<S: PartialEq, W: PartialEq> StructuralPartialEq for Solution<S, W>
Auto Trait Implementations§
impl<S, W> Forget for Solution<S, W>
impl<S, W> Freeze for Solution<S, W>
impl<S, W> Move for Solution<S, W>
impl<S, W> RefUnwindSafe for Solution<S, W>
impl<S, W> Send for Solution<S, W>
impl<S, W> Sync for Solution<S, W>
impl<S, W> Unpin for Solution<S, W>
impl<S, W> UnsafeUnpin for Solution<S, W>
impl<S, W> UnwindSafe for Solution<S, W>
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