style: Use Serde for SVGOffsetPath.

Differential Revision: https://phabricator.services.mozilla.com/D60087
This commit is contained in:
Boris Chiou 2020-01-22 20:18:35 +00:00 committed by Emilio Cobos Álvarez
parent 5ac08e4780
commit 2b3ef3ff37
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
3 changed files with 35 additions and 1 deletions

View file

@ -73,13 +73,16 @@ pub struct RayFunction<Angle> {
/// The offset-path value.
///
/// https://drafts.fxtf.org/motion-1/#offset-path-property
/// cbindgen:private-default-tagged-enum-constructor=false
#[derive(
Animate,
Clone,
ComputeSquaredDistance,
Debug,
Deserialize,
MallocSizeOf,
PartialEq,
Serialize,
SpecifiedValueInfo,
ToAnimatedZero,
ToComputedValue,