Struct rustc::dep_graph::debug::DepNodeFilter
[−]
[src]
pub struct DepNodeFilter { /* fields omitted */ }🔬 This is a nightly-only experimental API. (
rustc_private)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]
fn new(text: &str) -> Self
🔬 This is a nightly-only experimental API. (
rustc_private)fn accepts_all(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private)True if all nodes always pass the filter.
fn test<D: Clone + Debug>(&self, node: &DepNode<D>) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private)Tests whether node meets the filter, returning true if so.