Struct style::simple_buckets_map::SimpleBucketsMap
source · pub struct SimpleBucketsMap<T> {
pub classes: MaybeCaseInsensitiveHashMap<Atom, T>,
pub ids: MaybeCaseInsensitiveHashMap<Atom, T>,
pub local_names: PrecomputedHashMap<LocalName, T>,
}
Expand description
A map for filtering by easily-discernable features in a selector.
Fields§
§classes: MaybeCaseInsensitiveHashMap<Atom, T>
§ids: MaybeCaseInsensitiveHashMap<Atom, T>
§local_names: PrecomputedHashMap<LocalName, T>
Implementations§
source§impl<T> SimpleBucketsMap<T>
impl<T> SimpleBucketsMap<T>
Trait Implementations§
source§impl<T: Clone> Clone for SimpleBucketsMap<T>
impl<T: Clone> Clone for SimpleBucketsMap<T>
source§fn clone(&self) -> SimpleBucketsMap<T>
fn clone(&self) -> SimpleBucketsMap<T>
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<T: Debug> Debug for SimpleBucketsMap<T>
impl<T: Debug> Debug for SimpleBucketsMap<T>
source§impl<T> Default for SimpleBucketsMap<T>
impl<T> Default for SimpleBucketsMap<T>
source§impl<T> MallocSizeOf for SimpleBucketsMap<T>where
T: MallocSizeOf,
impl<T> MallocSizeOf for SimpleBucketsMap<T>where
T: MallocSizeOf,
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.
Auto Trait Implementations§
impl<T> Freeze for SimpleBucketsMap<T>
impl<T> RefUnwindSafe for SimpleBucketsMap<T>where
T: RefUnwindSafe,
impl<T> Send for SimpleBucketsMap<T>where
T: Send,
impl<T> Sync for SimpleBucketsMap<T>where
T: Sync,
impl<T> Unpin for SimpleBucketsMap<T>where
T: Unpin,
impl<T> UnwindSafe for SimpleBucketsMap<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert