Struct rustc::dep_graph::debug::DepNodeFilter
[−]
[src]
pub struct DepNodeFilter { /* fields omitted */ }🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
A dep-node filter goes from a user-defined string to a query over nodes. Right now the format is like this:
x & y & z
where the format-string of the dep-node must contain x, y, and
z.
Methods
impl DepNodeFilter[src]
pub fn new(text: &str) -> Self[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn accepts_all(&self) -> bool[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
True if all nodes always pass the filter.
pub fn test(&self, node: &DepNode) -> bool[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Tests whether node meets the filter, returning true if so.