Struct rustc_query_system::query::job::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
) -> 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
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§
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