[−][src]Struct rustc_query_system::dep_graph::debug::EdgeFilter

pub struct EdgeFilter {
    pub source: DepNodeFilter,
    pub target: DepNodeFilter,
}

A filter like F -> G where F and G are valid dep-node filters. This can be used to test the source/target independently.

Fields

source: DepNodeFiltertarget: DepNodeFilter

Implementations

impl EdgeFilter[src]

pub fn new(test: &str) -> Result<EdgeFilter, Box<dyn Error>>[src]

pub fn test<K: DepKind>(&self, source: &DepNode<K>, target: &DepNode<K>) -> bool[src]

Auto Trait Implementations

impl RefUnwindSafe for EdgeFilter

impl Send for EdgeFilter

impl Sync for EdgeFilter

impl Unpin for EdgeFilter

impl UnwindSafe for EdgeFilter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.