mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
parent
473934c989
commit
36ff89bd28
61 changed files with 73 additions and 437 deletions
|
@ -13,7 +13,7 @@ use style_traits::{ToCss, ParseError};
|
|||
/// serialize as few components as possible, like for example in `border-width`.
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
#[derive(Animate, Clone, ComputeSquaredDistance, Copy, Debug)]
|
||||
#[derive(HasViewportPercentage, PartialEq, ToComputedValue)]
|
||||
#[derive(PartialEq, ToComputedValue)]
|
||||
pub struct Rect<T>(pub T, pub T, pub T, pub T);
|
||||
|
||||
impl<T> Rect<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue