diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-14 19:29:43 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-20 19:02:36 +0200 |
commit | 5c03dd8eb15290c7e47e8a15172051c751a1109c (patch) | |
tree | 7f591e3ba9bf5e64540f9bd7cfcaacdb62e4cc3b /components/script_layout_interface/lib.rs | |
parent | e5cab3667165765669f2546aa683cfe73e0494af (diff) | |
download | servo-5c03dd8eb15290c7e47e8a15172051c751a1109c.tar.gz servo-5c03dd8eb15290c7e47e8a15172051c751a1109c.zip |
Introduce a script_layout_interface crate and move RestyleDamage to it.
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r-- | components/script_layout_interface/lib.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs new file mode 100644 index 00000000000..1aed95b6210 --- /dev/null +++ b/components/script_layout_interface/lib.rs @@ -0,0 +1,18 @@ +/* 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/. */ + +//! This module contains traits in script used generically in the rest of Servo. +//! The traits are here instead of in script so that these modules won't have +//! to depend on script. + +#![deny(unsafe_code)] +#![feature(plugin)] +#![plugin(plugins)] + +#[allow(unused_extern_crates)] +#[macro_use] +extern crate bitflags; +extern crate style; + +pub mod restyle_damage; |