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,
K: Unpin,
impl<K> UnwindSafe for EdgeFilter<K> where
K: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,