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

pub struct EdgeFilter<K: DepKind> {
    pub source: DepNodeFilter,
    pub target: DepNodeFilter,
    pub index_to_node: Lock<FxHashMap<DepNodeIndex, DepNode<K>>>,
}

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: DepNodeFilterindex_to_node: Lock<FxHashMap<DepNodeIndex, DepNode<K>>>

Implementations

impl<K: DepKind> EdgeFilter<K>[src]

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

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

Auto Trait Implementations

impl<K> !RefUnwindSafe for EdgeFilter<K>

impl<K> Send for EdgeFilter<K>

impl<K> !Sync for EdgeFilter<K>

impl<K> Unpin for EdgeFilter<K> where
    K: Unpin, 

impl<K> UnwindSafe for EdgeFilter<K> where
    K: UnwindSafe, 

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.