[][src]Struct rustc_query_system::dep_graph::dep_node::DepNode

pub struct DepNode<K> {
    pub kind: K,
    pub hash: Fingerprint,
}

Fields

kind: Khash: Fingerprint

Implementations

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

pub fn new_no_params(kind: K) -> DepNode<K>[src]

Creates a new, parameterless DepNode. This method will assert that the DepNode corresponding to the given DepKind actually does not require any parameters.

pub fn construct<Ctxt, Key>(tcx: Ctxt, kind: K, arg: &Key) -> DepNode<K> where
    Ctxt: QueryContext<DepKind = K>,
    Key: DepNodeParams<Ctxt>, 
[src]

Trait Implementations

impl<K: Clone> Clone for DepNode<K>[src]

impl<K: Copy> Copy for DepNode<K>[src]

impl<K: DepKind> Debug for DepNode<K>[src]

impl<K: Decodable> Decodable for DepNode<K>[src]

impl<K: Encodable> Encodable for DepNode<K>[src]

impl<K: Eq> Eq for DepNode<K>[src]

impl<K: Hash> Hash for DepNode<K>[src]

impl<K: Ord> Ord for DepNode<K>[src]

impl<K: PartialEq> PartialEq<DepNode<K>> for DepNode<K>[src]

impl<K: PartialOrd> PartialOrd<DepNode<K>> for DepNode<K>[src]

impl<K> StructuralEq for DepNode<K>[src]

impl<K> StructuralPartialEq for DepNode<K>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for DepNode<K> where
    K: RefUnwindSafe

impl<K> Send for DepNode<K> where
    K: Send

impl<K> Sync for DepNode<K> where
    K: Sync

impl<K> Unpin for DepNode<K> where
    K: Unpin

impl<K> UnwindSafe for DepNode<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> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.