pub struct AlgorithmResult<T: PartialOrd + Debug> {
pub path: Vec<Vertice<T>>,
pub visited: HashSet<Vertice<T>>,
}Fields§
§path: Vec<Vertice<T>>The path it found to the vertice
visited: HashSet<Vertice<T>>The visited vertices before getting to the vertice
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for AlgorithmResult<T>
impl<T> RefUnwindSafe for AlgorithmResult<T>where
T: RefUnwindSafe,
impl<T> Send for AlgorithmResult<T>where
T: Send,
impl<T> Sync for AlgorithmResult<T>where
T: Sync,
impl<T> Unpin for AlgorithmResult<T>where
T: Unpin,
impl<T> UnwindSafe for AlgorithmResult<T>where
T: 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