Struct rustc_query_system::dep_graph::DepNode [−][src]
pub struct DepNode<K> {
pub kind: K,
pub hash: PackedFingerprint,
}Fields
kind: Khash: PackedFingerprintImplementations
impl<K: DepKind> DepNode<K>[src]
impl<K: DepKind> DepNode<K>[src]pub fn new_no_params(kind: K) -> 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: DepContext<DepKind = K>,
Key: DepNodeParams<Ctxt>, [src]
Ctxt: DepContext<DepKind = K>,
Key: DepNodeParams<Ctxt>,
Trait Implementations
impl<K: Ord> Ord for DepNode<K>[src]
impl<K: Ord> Ord for DepNode<K>[src]impl<K: PartialOrd> PartialOrd<DepNode<K>> for DepNode<K>[src]
impl<K: PartialOrd> PartialOrd<DepNode<K>> for DepNode<K>[src]fn partial_cmp(&self, other: &DepNode<K>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &DepNode<K>) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<K: Copy> Copy for DepNode<K>[src]
impl<K: Eq> Eq 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,
K: RefUnwindSafe,
impl<K> Send for DepNode<K> where
K: Send,
K: Send,
impl<K> Sync for DepNode<K> where
K: Sync,
K: Sync,
impl<K> Unpin for DepNode<K> where
K: Unpin,
K: Unpin,
impl<K> UnwindSafe for DepNode<K> where
K: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more