[−][src]Struct rustc_middle::ty::query::QueryJobId

pub struct QueryJobId<K> {
    pub job: QueryShardJobId,
    pub shard: u16,
    pub kind: K,
}

A value uniquely identifiying an active query job.

Fields

job: QueryShardJobId

Which job within a shard is this

shard: u16

In which shard is this job

kind: K

What kind of query this job is

Implementations

impl<K> QueryJobId<K> where
    K: DepKind, 
[src]

pub fn new(job: QueryShardJobId, shard: usize, kind: K) -> QueryJobId<K>[src]

Trait Implementations

impl<K> Clone for QueryJobId<K> where
    K: Clone, 
[src]

impl<K> Copy for QueryJobId<K> where
    K: Copy, 
[src]

impl<K> Eq for QueryJobId<K> where
    K: Eq, 
[src]

impl<K> Hash for QueryJobId<K> where
    K: Hash, 
[src]

impl<K> PartialEq<QueryJobId<K>> for QueryJobId<K> where
    K: PartialEq<K>, 
[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for QueryJobId<K> where
    K: RefUnwindSafe, 

impl<K> Send for QueryJobId<K> where
    K: Send, 

impl<K> Sync for QueryJobId<K> where
    K: Sync, 

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> 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> MaybeResult<T> for T[src]

type Error = !

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.

impl<T> WithConstness for T[src]