mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +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
|
@ -65,7 +65,7 @@ pub enum CalcUnit {
|
|||
/// relative lengths, and to_computed_pixel_length_without_context() handles
|
||||
/// this case. Therefore, if you want to add a new field, please make sure this
|
||||
/// function work properly.
|
||||
#[derive(Clone, Copy, Debug, Default, MallocSizeOf, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Default, MallocSizeOf, PartialEq, ToShmem)]
|
||||
#[allow(missing_docs)]
|
||||
pub struct CalcLengthPercentage {
|
||||
pub clamping_mode: AllowedNumericType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue