Expand description
This module contains collection types that donβt expose their internal ordering. This is a useful property for deterministic computations, such as required by the query system.
Re-exportsΒ§
use std::borrow::Borrow;πuse std::borrow::BorrowMut;πuse std::collections::hash_map::Entry;πuse std::collections::hash_map::OccupiedError;πExperimental use std::hash::Hash;πuse std::hash::Hash;πuse std::iter::Product;πuse std::iter::Sum;πuse std::ops::Index;πuse rustc_macros::Decodable_NoContext;πuse rustc_macros::Encodable_NoContext;πuse crate::fingerprint::Fingerprint;πuse crate::fx::FxBuildHasher;πuse crate::fx::FxHashMap;πuse crate::fx::FxHashSet;πuse crate::stable_hash::StableCompare;πuse crate::stable_hash::StableHash;πuse crate::stable_hash::StableHashCtxt;πuse crate::stable_hash::StableHasher;πuse crate::stable_hash::ToStableHashKey;π
StructsΒ§
- Unord
Bag - This is a collection type that tries very hard to not expose any internal iteration. This is a useful property when trying to uphold the determinism invariants imposed by the query system.
- Unord
Items UnordItemsis the order-less version ofIterator. It only contains methods that donβt (easily) expose an ordering of the underlying items.- Unord
Map - This is a map collection type that tries very hard to not expose any internal iteration. This is a useful property when trying to uphold the determinism invariants imposed by the query system.
- Unord
Set - This is a set collection type that tries very hard to not expose any internal iteration. This is a useful property when trying to uphold the determinism invariants imposed by the query system.
TraitsΒ§
- Extend
Unord - Unord
Collection π - A marker trait specifying that
Selfcan consumeUnordItems<_>without exposing any internal ordering.
FunctionsΒ§
- hash_
iter_ πorder_ independent - to_
sorted_ πvec