mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
parent
473934c989
commit
36ff89bd28
61 changed files with 73 additions and 437 deletions
|
@ -20,7 +20,7 @@ use values::specified::calc::CalcNode;
|
|||
/// value serialization. Therefore we are storing a computed angle inside
|
||||
/// to hold the actual value and its unit.
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf, Deserialize, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, HasViewportPercentage, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct Angle {
|
||||
value: ComputedAngle,
|
||||
was_calc: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue