pub type IdOrClassDependencyMap = MaybeCaseInsensitiveHashMap<Atom, SmallVec<[Dependency; 1]>>;
Expand description
Dependency mapping for classes or IDs.
Aliased Type§
struct IdOrClassDependencyMap(HashMap<Atom<AtomStaticSet>, SmallVec<[Dependency; 1]>, BuildHasherDefault<PrecomputedHasher>>);
Fields§
§0: HashMap<Atom<AtomStaticSet>, SmallVec<[Dependency; 1]>, BuildHasherDefault<PrecomputedHasher>>
Implementations
Source§impl<V> MaybeCaseInsensitiveHashMap<Atom, V>
impl<V> MaybeCaseInsensitiveHashMap<Atom, V>
Sourcepub fn shrink_if_needed(&mut self)
pub fn shrink_if_needed(&mut self)
Shrink the capacity of the map if needed.
Trait Implementations
Source§impl<K: Clone + PrecomputedHash + Hash + Eq, V: Clone> Clone for MaybeCaseInsensitiveHashMap<K, V>
impl<K: Clone + PrecomputedHash + Hash + Eq, V: Clone> Clone for MaybeCaseInsensitiveHashMap<K, V>
Source§fn clone(&self) -> MaybeCaseInsensitiveHashMap<K, V>
fn clone(&self) -> MaybeCaseInsensitiveHashMap<K, V>
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<K: Debug + PrecomputedHash + Hash + Eq, V: Debug> Debug for MaybeCaseInsensitiveHashMap<K, V>
impl<K: Debug + PrecomputedHash + Hash + Eq, V: Debug> Debug for MaybeCaseInsensitiveHashMap<K, V>
Source§impl<V> Default for MaybeCaseInsensitiveHashMap<Atom, V>
impl<V> Default for MaybeCaseInsensitiveHashMap<Atom, V>
Source§impl<K, V> MallocSizeOf for MaybeCaseInsensitiveHashMap<K, V>
impl<K, V> MallocSizeOf for MaybeCaseInsensitiveHashMap<K, V>
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.