Struct rustc_query_system::query::plumbing::QueryStateShard
source · [−]struct QueryStateShard<D, K> {
active: FxHashMap<K, QueryResult<D>>,
jobs: u32,
}Fields
active: FxHashMap<K, QueryResult<D>>jobs: u32Used to generate unique ids for active jobs.
Trait Implementations
sourceimpl<D, K> Default for QueryStateShard<D, K>
impl<D, K> Default for QueryStateShard<D, K>
sourcefn default() -> QueryStateShard<D, K>
fn default() -> QueryStateShard<D, K>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<D, K> RefUnwindSafe for QueryStateShard<D, K> where
D: RefUnwindSafe,
K: RefUnwindSafe,
impl<D, K> !Send for QueryStateShard<D, K>
impl<D, K> !Sync for QueryStateShard<D, K>
impl<D, K> Unpin for QueryStateShard<D, K> where
D: Unpin,
K: Unpin,
impl<D, K> UnwindSafe for QueryStateShard<D, K> where
D: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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: 40 bytes