mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Move PaintMsg enum to gfx_traits #8844
This commit is contained in:
parent
f3e921a584
commit
3f7f323556
9 changed files with 23 additions and 10 deletions
|
@ -2,14 +2,24 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![feature(custom_derive, plugin)]
|
||||
#![plugin(serde_macros)]
|
||||
#![crate_name = "gfx_traits"]
|
||||
#![crate_type = "rlib"]
|
||||
|
||||
extern crate azure;
|
||||
extern crate layers;
|
||||
extern crate msg;
|
||||
extern crate serde;
|
||||
|
||||
pub mod color;
|
||||
mod paint_listener;
|
||||
|
||||
pub use paint_listener::PaintListener;
|
||||
use msg::constellation_msg::Failure;
|
||||
|
||||
/// Messages from the paint task to the constellation.
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum PaintMsg {
|
||||
Failure(Failure),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue