Struct style::invalidation::element::invalidation_map::StateDependency
[−]
[src]
pub struct StateDependency {
pub dep: Dependency,
pub state: ElementState,
}The same, but for state selectors, which can track more exactly what state do they track.
Fields
dep: Dependency
The other dependency fields.
state: ElementState
The state this dependency is affected by.
Trait Implementations
impl Clone for StateDependency[src]
fn clone(&self) -> StateDependency[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for StateDependency[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for StateDependency[src]
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
impl SelectorMapEntry for StateDependency[src]
ⓘImportant traits for SelectorIter<'a, Impl>fn selector(&self) -> SelectorIter<SelectorImpl>[src]
ⓘImportant traits for SelectorIter<'a, Impl>
Gets the selector we should use to index in the selector map.