pub struct PrerequisitesResult {
pub ordered: Vec<Node>,
pub target: Node,
pub has_cycles: bool,
}Expand description
Result of prerequisites analysis.
Fields§
§ordered: Vec<Node>Prerequisites in topological order (learn first → learn last).
target: NodeThe target node.
has_cycles: boolWhether cycles were detected (if true, ordering is approximate).
Trait Implementations§
Source§impl Clone for PrerequisitesResult
impl Clone for PrerequisitesResult
Source§fn clone(&self) -> PrerequisitesResult
fn clone(&self) -> PrerequisitesResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PrerequisitesResult
impl RefUnwindSafe for PrerequisitesResult
impl Send for PrerequisitesResult
impl Sync for PrerequisitesResult
impl Unpin for PrerequisitesResult
impl UnsafeUnpin for PrerequisitesResult
impl UnwindSafe for PrerequisitesResult
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