Enum style::invalidation::stylesheets::RuleChangeKind
source · #[repr(u32)]
pub enum RuleChangeKind {
Insertion,
Removal,
Generic,
StyleRuleDeclarations,
}
Expand description
The kind of change that happened for a given rule.
Variants§
Insertion
The rule was inserted.
Removal
The rule was removed.
Generic
Some change in the rule which we don’t know about, and could have made the rule change in any way.
StyleRuleDeclarations
A change in the declarations of a style rule.
Trait Implementations§
source§impl Clone for RuleChangeKind
impl Clone for RuleChangeKind
source§fn clone(&self) -> RuleChangeKind
fn clone(&self) -> RuleChangeKind
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 Debug for RuleChangeKind
impl Debug for RuleChangeKind
source§impl Hash for RuleChangeKind
impl Hash for RuleChangeKind
source§impl MallocSizeOf for RuleChangeKind
impl MallocSizeOf for RuleChangeKind
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.
source§impl PartialEq<RuleChangeKind> for RuleChangeKind
impl PartialEq<RuleChangeKind> for RuleChangeKind
source§fn eq(&self, other: &RuleChangeKind) -> bool
fn eq(&self, other: &RuleChangeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RuleChangeKind
impl Eq for RuleChangeKind
impl StructuralEq for RuleChangeKind
impl StructuralPartialEq for RuleChangeKind
Auto Trait Implementations§
impl RefUnwindSafe for RuleChangeKind
impl Send for RuleChangeKind
impl Sync for RuleChangeKind
impl Unpin for RuleChangeKind
impl UnwindSafe for RuleChangeKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
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