Struct rustc_query_system::dep_graph::dep_node::DepNode [−][src]
pub struct DepNode<K> {
pub kind: K,
pub hash: PackedFingerprint,
}
Fields
kind: K
hash: PackedFingerprint
Implementations
pub fn new_no_params<Ctxt>(tcx: Ctxt, kind: K) -> DepNode<K> where
Ctxt: DepContext<DepKind = K>,
pub fn new_no_params<Ctxt>(tcx: Ctxt, kind: K) -> DepNode<K> where
Ctxt: DepContext<DepKind = K>,
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: DepContext<DepKind = K>,
Key: DepNodeParams<Ctxt>,
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<K> RefUnwindSafe for DepNode<K> where
K: RefUnwindSafe,
impl<K> UnwindSafe for DepNode<K> where
K: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.