compositing: Make the constellation messages serializable.

This commit is contained in:
Patrick Walton 2015-07-10 11:16:27 -07:00
parent a0cf597946
commit b6485a9eaf
32 changed files with 316 additions and 229 deletions

View file

@ -25,7 +25,7 @@ encoding = "0.2"
fnv = "1.0"
rustc-serialize = "0.3"
matches = "0.1"
url = "0.2.35"
url = "0.2.36"
bitflags = "*"
cssparser = "0.3.2"
num = "0.1.24"

View file

@ -11,6 +11,7 @@
#![feature(plugin)]
#![feature(vec_push_all)]
#![plugin(serde_macros)]
#![plugin(string_cache_plugin)]
#![plugin(serde_macros)]
#![plugin(plugins)]

View file

@ -305,7 +305,7 @@ impl<'a, I> ViewportDescriptorDeclarationCascade for I
}
}
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Deserialize, Serialize)]
pub struct ViewportConstraints {
pub size: TypedSize2D<ViewportPx, f32>,