pub struct ProjectEvaluation { /* private fields */ }Implementations§
Source§impl ProjectEvaluation
impl ProjectEvaluation
pub fn expand(&self, expression: &str) -> Expansion
pub fn activity(&self, source: SourceId, line: usize) -> Truth
pub fn default_goal(&self) -> &DefaultGoal
Sourcepub fn vpaths(&self) -> &[Option<String>]
pub fn vpaths(&self) -> &[Option<String>]
Selective search directives expanded when read, in include traversal order. None preserves uncertainty from an unknown branch or expansion.
pub fn active_phonies(&self) -> &BTreeSet<String>
pub fn rules(&self, source: SourceId, line: usize) -> &[EvaluatedRule]
Sourcepub fn definition_after(
&self,
name: &str,
definitions_read: usize,
) -> Option<EvaluationLocation>
pub fn definition_after( &self, name: &str, definitions_read: usize, ) -> Option<EvaluationLocation>
Where GNU Make defines name next, having read definitions_read
definitions already, which is the definition an expansion at that point
was read before.
Sourcepub fn gives_a_value(&self, name: &str) -> bool
pub fn gives_a_value(&self, name: &str) -> bool
Whether the project gives name a value of its own somewhere, as
against a caller supplying it through the environment, the command line
or a parent make.
Sourcepub fn read_too_early(&self) -> Vec<ReadTooEarly>
pub fn read_too_early(&self) -> Vec<ReadTooEarly>
Every name a definition read before the definition that gives it a value, in the order Make read them.
Trait Implementations§
Source§impl Clone for ProjectEvaluation
impl Clone for ProjectEvaluation
Auto Trait Implementations§
impl Freeze for ProjectEvaluation
impl RefUnwindSafe for ProjectEvaluation
impl Send for ProjectEvaluation
impl Sync for ProjectEvaluation
impl Unpin for ProjectEvaluation
impl UnsafeUnpin for ProjectEvaluation
impl UnwindSafe for ProjectEvaluation
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