pub struct ProblemGraph<NodeWeight, EdgeWeight> {
pub dag: GraphType<NodeWeight, EdgeWeight>,
pub start: NodeIndex,
pub end: NodeIndex,
}
Expand description
Compact struct containing dag and references to its source and sink node.
Fields§
§dag: GraphType<NodeWeight, EdgeWeight>
§start: NodeIndex
§end: NodeIndex
Auto Trait Implementations§
impl<NodeWeight, EdgeWeight> Freeze for ProblemGraph<NodeWeight, EdgeWeight>
impl<NodeWeight, EdgeWeight> RefUnwindSafe for ProblemGraph<NodeWeight, EdgeWeight>where
NodeWeight: RefUnwindSafe,
EdgeWeight: RefUnwindSafe,
impl<NodeWeight, EdgeWeight> Send for ProblemGraph<NodeWeight, EdgeWeight>
impl<NodeWeight, EdgeWeight> Sync for ProblemGraph<NodeWeight, EdgeWeight>
impl<NodeWeight, EdgeWeight> Unpin for ProblemGraph<NodeWeight, EdgeWeight>
impl<NodeWeight, EdgeWeight> UnwindSafe for ProblemGraph<NodeWeight, EdgeWeight>where
NodeWeight: UnwindSafe,
EdgeWeight: 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