pub struct GraphImportClosure {
pub reachable: BTreeSet<GraphId>,
pub order: Vec<GraphId>,
}Fields§
§reachable: BTreeSet<GraphId>All reachable imports (excluding the root graph id).
order: Vec<GraphId>Deterministic DFS postorder (dependencies first), excluding the root graph id.
Implementations§
Trait Implementations§
Source§impl Clone for GraphImportClosure
impl Clone for GraphImportClosure
Source§fn clone(&self) -> GraphImportClosure
fn clone(&self) -> GraphImportClosure
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 GraphImportClosure
impl RefUnwindSafe for GraphImportClosure
impl Send for GraphImportClosure
impl Sync for GraphImportClosure
impl Unpin for GraphImportClosure
impl UnsafeUnpin for GraphImportClosure
impl UnwindSafe for GraphImportClosure
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