pub struct AnalysisContext<'a> {
pub graph: &'a Graph,
pub root: &'a Path,
pub config: &'a Config,
pub lockfile: Option<&'a Lockfile>,
}Expand description
Context passed to every analysis, providing access to the graph, filesystem root, config, and optional lockfile.
Fields§
§graph: &'a Graph§root: &'a Path§config: &'a Config§lockfile: Option<&'a Lockfile>Auto Trait Implementations§
impl<'a> Freeze for AnalysisContext<'a>
impl<'a> RefUnwindSafe for AnalysisContext<'a>
impl<'a> Send for AnalysisContext<'a>
impl<'a> Sync for AnalysisContext<'a>
impl<'a> Unpin for AnalysisContext<'a>
impl<'a> UnsafeUnpin for AnalysisContext<'a>
impl<'a> UnwindSafe for AnalysisContext<'a>
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