Struct erg_common::tsort::Node
source · pub struct Node<T: Eq + Hash, U> {
pub id: T,
pub data: U,
pub depends_on: Set<T>,
}
Fields§
§id: T
§data: U
§depends_on: Set<T>
Implementations§
Trait Implementations§
source§impl<T: PartialEq + Eq + Hash, U: PartialEq> PartialEq for Node<T, U>
impl<T: PartialEq + Eq + Hash, U: PartialEq> PartialEq for Node<T, U>
impl<T: Eq + Eq + Hash, U: Eq> Eq for Node<T, U>
impl<T: Eq + Hash, U> StructuralPartialEq for Node<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Node<T, U>
impl<T, U> RefUnwindSafe for Node<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Node<T, U>
impl<T, U> Sync for Node<T, U>
impl<T, U> Unpin for Node<T, U>
impl<T, U> UnwindSafe for Node<T, U>where
T: UnwindSafe,
U: 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