Implement Clone for AnimationValue by hand 🐉🐲

We use the same trick as in PropertyDeclaration::clone.
This commit is contained in:
Anthony Ramine 2018-02-05 23:51:45 +01:00
parent b95b6c66f3
commit c92d0a8902
2 changed files with 59 additions and 3 deletions

View file

@ -88,7 +88,7 @@ impl ToAnimatedZero for BorderCornerRadius {
/// The computed value of the `border-image-repeat` property:
///
/// https://drafts.csswg.org/css-backgrounds/#the-border-image-repeat
#[derive(Clone, Debug, MallocSizeOf, PartialEq)]
#[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq)]
pub struct BorderImageRepeat(pub BorderImageRepeatKeyword, pub BorderImageRepeatKeyword);
impl BorderImageRepeat {