style: Use SmallVec in the computed value representation of most stuff.

This commit is contained in:
Emilio Cobos Álvarez 2017-04-30 12:26:37 +02:00
parent caa66a880a
commit 0c5681140a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
9 changed files with 68 additions and 57 deletions

View file

@ -332,7 +332,7 @@ pub struct Shadow {
/// A `<number>` value.
pub type Number = CSSFloat;
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Copy, Clone, PartialEq)]
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
#[allow(missing_docs)]
pub enum NumberOrPercentage {