aboutsummaryrefslogtreecommitdiffstats
path: root/components/selectors/builder.rs
diff options
context:
space:
mode:
authorCameron McCormack <cam@mcc.id.au>2019-03-30 00:16:25 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-04-12 12:19:52 +0200
commit40248ae5fdc2e768862a1865b43e0a23e588b303 (patch)
tree4b66750ca6597f76d3781bd8d71dbf73603463b4 /components/selectors/builder.rs
parent128c6ae94aec7b9df26544c46816158aacd8eb59 (diff)
downloadservo-40248ae5fdc2e768862a1865b43e0a23e588b303.tar.gz
servo-40248ae5fdc2e768862a1865b43e0a23e588b303.zip
style: Add derived ToShmem implementations.
Differential Revision: https://phabricator.services.mozilla.com/D17197
Diffstat (limited to 'components/selectors/builder.rs')
-rw-r--r--components/selectors/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/selectors/builder.rs b/components/selectors/builder.rs
index 80e8457cfc8..72404de1084 100644
--- a/components/selectors/builder.rs
+++ b/components/selectors/builder.rs
@@ -199,7 +199,7 @@ pub const HAS_SLOTTED_BIT: u32 = 1 << 31;
/// We use ten bits for each specificity kind (id, class, element), and the two
/// high bits for the pseudo and slotted flags.
-#[derive(Clone, Copy, Debug, Eq, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, PartialEq, ToShmem)]
pub struct SpecificityAndFlags(pub u32);
impl SpecificityAndFlags {