Move PaintMsg enum to gfx_traits #8844

This commit is contained in:
Maciej Skrzypkowski 2015-12-17 14:47:23 +01:00
parent f3e921a584
commit 3f7f323556
9 changed files with 23 additions and 10 deletions

View file

@ -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),
}