Struct rustc::dep_graph::debug::DepNodeFilter [] [src]

pub struct DepNodeFilter {
    // some fields omitted
}
Unstable (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

fn accepts_all(&self) -> bool

Unstable (rustc_private)

True if all nodes always pass the filter.

fn test<D: Clone + Debug>(&self, node: &DepNode<D>) -> bool

Unstable (rustc_private)

Tests whether node meets the filter, returning true if so.

Trait Implementations

Derived Implementations

impl Debug for DepNodeFilter
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.