pub struct NodePath<T: PartialOrd + Clone + Display + Eq + Hash> {
pub node: T,
pub edges: Vec<T>,
}
Fields§
§node: T
§edges: Vec<T>
Implementations§
Trait Implementations§
Source§impl<T> NodePathTrait<T> for NodePath<T>
impl<T> NodePathTrait<T> for NodePath<T>
Auto Trait Implementations§
impl<T> Freeze for NodePath<T>where
T: Freeze,
impl<T> RefUnwindSafe for NodePath<T>where
T: RefUnwindSafe,
impl<T> Send for NodePath<T>where
T: Send,
impl<T> Sync for NodePath<T>where
T: Sync,
impl<T> Unpin for NodePath<T>where
T: Unpin,
impl<T> UnwindSafe for NodePath<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