mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
25 lines
647 B
Rust
25 lines
647 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* 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),
|
|
}
|