[−][src]Struct rustc_query_system::query::job::QueryJobId
A value uniquely identifiying an active query job.
Fields
job: QueryShardJobIdWhich job within a shard is this
shard: u16In which shard is this job
kind: DWhat kind of query this job is.
Implementations
impl<D> QueryJobId<D> where
D: Copy + Clone + Eq + Hash, [src]
D: Copy + Clone + Eq + Hash,
pub fn new(job: QueryShardJobId, shard: usize, kind: D) -> Self[src]
pub(in query::job) fn query<Q: Clone>(
self,
map: &FxHashMap<QueryJobId<D>, QueryJobInfo<D, Q>>
) -> Q[src]
self,
map: &FxHashMap<QueryJobId<D>, QueryJobInfo<D, Q>>
) -> Q
Trait Implementations
impl<D: Clone> Clone for QueryJobId<D>[src]
pub fn clone(&self) -> QueryJobId<D>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<D: Copy> Copy for QueryJobId<D>[src]
impl<D: Eq> Eq for QueryJobId<D>[src]
impl<D: Hash> Hash for QueryJobId<D>[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<D: PartialEq> PartialEq<QueryJobId<D>> for QueryJobId<D>[src]
pub fn eq(&self, other: &QueryJobId<D>) -> bool[src]
pub fn ne(&self, other: &QueryJobId<D>) -> bool[src]
impl<D> StructuralEq for QueryJobId<D>[src]
impl<D> StructuralPartialEq for QueryJobId<D>[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for QueryJobId<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> Send for QueryJobId<D> where
D: Send,
D: Send,
impl<D> Sync for QueryJobId<D> where
D: Sync,
D: Sync,
impl<D> Unpin for QueryJobId<D> where
D: Unpin,
D: Unpin,
impl<D> UnwindSafe for QueryJobId<D> where
D: UnwindSafe,
D: 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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,