mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
compositing: Make the constellation messages serializable.
This commit is contained in:
parent
a0cf597946
commit
b6485a9eaf
32 changed files with 316 additions and 229 deletions
|
@ -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"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#![feature(plugin)]
|
||||
#![feature(vec_push_all)]
|
||||
|
||||
#![plugin(serde_macros)]
|
||||
#![plugin(string_cache_plugin)]
|
||||
#![plugin(serde_macros)]
|
||||
#![plugin(plugins)]
|
||||
|
|
|
@ -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>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue