mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Allow ApplicableDeclarationBlocks to be compared.
We'll need this to cache pres hints, which generate these.
This commit is contained in:
parent
3ebd48039e
commit
544e0f4cd6
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ impl Rule {
|
||||||
/// This represents the declarations in a given declaration block for a given
|
/// This represents the declarations in a given declaration block for a given
|
||||||
/// importance.
|
/// importance.
|
||||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct ApplicableDeclarationBlock {
|
pub struct ApplicableDeclarationBlock {
|
||||||
/// The style source, either a style rule, or a property declaration block.
|
/// The style source, either a style rule, or a property declaration block.
|
||||||
#[cfg_attr(feature = "servo", ignore_heap_size_of = "Arc")]
|
#[cfg_attr(feature = "servo", ignore_heap_size_of = "Arc")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue