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
sourceimpl QueryJobId
impl QueryJobId
fn query(self, map: &QueryMap) -> QueryStackFrame
sourceimpl 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
sourceimpl Clone for QueryJobId
impl Clone for QueryJobId
sourcefn clone(&self) -> QueryJobId
fn clone(&self) -> QueryJobId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Hash for QueryJobId
impl Hash for QueryJobId
sourceimpl PartialEq<QueryJobId> for QueryJobId
impl PartialEq<QueryJobId> for QueryJobId
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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