pub struct CriticalPathResult {
pub node_distances: Vec<usize>,
pub critical_path_length: usize,
pub critical_path: Vec<usize>,
}Expand description
Result of critical path analysis.
Fields§
§node_distances: Vec<usize>The longest-path distance from any source to each node.
critical_path_length: usizeThe length of the critical path (maximum distance).
critical_path: Vec<usize>Node IDs on the critical path, from source to sink.
Trait Implementations§
Source§impl Clone for CriticalPathResult
impl Clone for CriticalPathResult
Source§fn clone(&self) -> CriticalPathResult
fn clone(&self) -> CriticalPathResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CriticalPathResult
impl RefUnwindSafe for CriticalPathResult
impl Send for CriticalPathResult
impl Sync for CriticalPathResult
impl Unpin for CriticalPathResult
impl UnsafeUnpin for CriticalPathResult
impl UnwindSafe for CriticalPathResult
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