Struct rustc_query_system::query::QueryJobId
source · pub struct QueryJobId(pub NonZeroU64);
Expand description
A value uniquely identifying an active query job.
Tuple Fields§
§0: NonZeroU64
Implementations§
source§impl QueryJobId
impl QueryJobId
fn query(self, map: &QueryMap) -> QueryStackFrame
source§impl QueryJobId
impl QueryJobId
pub(super) fn find_cycle_in_stack( &self, query_map: QueryMap, current_job: &Option<QueryJobId>, span: Span ) -> CycleError
pub fn try_find_layout_root( &self, query_map: QueryMap, layout_of_kind: DepKind ) -> Option<(QueryJobInfo, usize)>
Trait Implementations§
source§impl Clone for QueryJobId
impl Clone for QueryJobId
source§fn clone(&self) -> QueryJobId
fn clone(&self) -> QueryJobId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Hash for QueryJobId
impl Hash for QueryJobId
source§impl PartialEq<QueryJobId> for QueryJobId
impl PartialEq<QueryJobId> for QueryJobId
source§fn eq(&self, other: &QueryJobId) -> bool
fn eq(&self, other: &QueryJobId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QueryJobId
impl Eq for QueryJobId
impl StructuralEq for QueryJobId
impl StructuralPartialEq for QueryJobId
Auto Trait Implementations§
impl RefUnwindSafe for QueryJobId
impl Send for QueryJobId
impl Sync for QueryJobId
impl Unpin for QueryJobId
impl UnwindSafe for QueryJobId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
impl<Tcx, T> Value<Tcx> for Twhere Tcx: DepContext,
default fn from_cycle_error( tcx: Tcx, cycle: &[QueryInfo], _guar: ErrorGuaranteed ) -> T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes