pub struct Graph {
pub project: Graph,
/* private fields */
}Expand description
The project’s dependency graph, with what the tests were seen using.
Fields§
§project: GraphWhich file uses which, from the source and from what the tests were seen using.
Implementations§
Source§impl Graph
impl Graph
Sourcepub fn build(project_abs: &Path) -> Graph
pub fn build(project_abs: &Path) -> Graph
Reads the project’s scripts, scenes and resources, and what its tests were seen using.
Sourcepub fn impact(&self, changed: &[String], tests: &[String]) -> Impact
pub fn impact(&self, changed: &[String], tests: &[String]) -> Impact
The test files among tests that a change to changed (res://
paths) affects.
Sourcepub fn loads_unknown(&self, file: &str) -> bool
pub fn loads_unknown(&self, file: &str) -> bool
Whether file, or a file it uses, loads a path the source does not
tell: then any change may affect it.
Sourcepub fn unknown_loaders(&self, tests: &[String]) -> BTreeSet<String>
pub fn unknown_loaders(&self, tests: &[String]) -> BTreeSet<String>
The files that load paths the source does not tell, among the files
tests reach.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Graph
impl Freeze for Graph
impl Move for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graphwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, HashSet<String>)>: UnsafeUnpin,
PhantomData<(String, BTreeSet<String>)>: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<(String, Vec<Edge>)>: UnsafeUnpin,
impl UnwindSafe for Graphwhere
HashMap<String, HashSet<String>>: UnwindSafe,
HashMap<String, BTreeSet<String>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
HashMap<String, String>: UnwindSafe,
HashMap<String, Vec<Edge>>: 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