mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
order derivable traits lists
Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
This commit is contained in:
parent
ab73f3d61d
commit
c5fe235112
194 changed files with 553 additions and 552 deletions
|
@ -48,7 +48,7 @@ type InvalidationVector = SmallVec<[Invalidation; 10]>;
|
|||
///
|
||||
/// We can use this to avoid pushing invalidations of the same kind to our
|
||||
/// descendants or siblings.
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
enum InvalidationKind {
|
||||
Descendant,
|
||||
Sibling,
|
||||
|
|
|
@ -23,7 +23,7 @@ use stylesheets::{NestedRuleIterationCondition, Stylesheet};
|
|||
///
|
||||
/// If this changes, though, we may need to remove the item from the cache if
|
||||
/// present before it goes away.
|
||||
#[derive(Debug, Copy, Clone, Hash, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
pub struct MediaListKey(usize);
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ use stylesheets::{CssRule, StylesheetInDocument};
|
|||
|
||||
/// An invalidation scope represents a kind of subtree that may need to be
|
||||
/// restyled.
|
||||
#[derive(Debug, Hash, Eq, PartialEq)]
|
||||
#[derive(Debug, Eq, Hash, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
enum InvalidationScope {
|
||||
/// All the descendants of an element with a given id.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue