mirror of
https://github.com/servo/servo.git
synced 2025-08-27 08:08:19 +01:00
style: Add derived ToShmem implementations.
Differential Revision: https://phabricator.services.mozilla.com/D17197
This commit is contained in:
parent
128c6ae94a
commit
40248ae5fd
93 changed files with 649 additions and 267 deletions
|
@ -80,7 +80,7 @@ impl ToCss for ViewportConstraints {
|
|||
}
|
||||
|
||||
/// <https://drafts.csswg.org/css-device-adapt/#descdef-viewport-zoom>
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, ToShmem)]
|
||||
#[cfg_attr(feature = "servo", derive(MallocSizeOf))]
|
||||
pub enum Zoom {
|
||||
/// A number value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue