Struct style::selector_map::MaybeCaseInsensitiveHashMap
[−]
[src]
pub struct MaybeCaseInsensitiveHashMap<K: PrecomputedHash + Hash + Eq, V: 'static>(_);
Wrapper for PrecomputedHashMap that does ASCII-case-insensitive lookup in quirks mode.
Methods
impl<V: 'static> MaybeCaseInsensitiveHashMap<Atom, V>
[src]
pub fn new() -> Self
[src]
Empty map
pub fn entry(&mut self, key: Atom, quirks_mode: QuirksMode) -> Entry<Atom, V>
[src]
HashMap::entry
pub fn try_entry(
&mut self,
key: Atom,
quirks_mode: QuirksMode
) -> Result<Entry<Atom, V>, FailedAllocationError>
[src]
&mut self,
key: Atom,
quirks_mode: QuirksMode
) -> Result<Entry<Atom, V>, FailedAllocationError>
HashMap::try_entry
ⓘImportant traits for Iter<'a, K, V>pub fn iter(&self) -> Iter<Atom, V>
[src]
ⓘImportant traits for Iter<'a, K, V>
HashMap::iter
pub fn clear(&mut self)
[src]
HashMap::clear
pub fn get(&self, key: &Atom, quirks_mode: QuirksMode) -> Option<&V>
[src]
HashMap::get
Trait Implementations
impl<K: Debug + PrecomputedHash + Hash + Eq, V: Debug + 'static> Debug for MaybeCaseInsensitiveHashMap<K, V>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<K: PrecomputedHash + Hash + Eq, V: 'static> MallocSizeOf for MaybeCaseInsensitiveHashMap<K, V> where
K: MallocSizeOf,
V: MallocSizeOf,
[src]
K: MallocSizeOf,
V: MallocSizeOf,
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more