aboutsummaryrefslogtreecommitdiffstats
path: root/components/style_traits/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style_traits/lib.rs')
-rw-r--r--components/style_traits/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs
index 54657108341..449aca96ee3 100644
--- a/components/style_traits/lib.rs
+++ b/components/style_traits/lib.rs
@@ -27,6 +27,10 @@ extern crate rustc_serialize;
#[cfg(feature = "servo")] extern crate serde;
#[cfg(feature = "servo")] #[macro_use] extern crate serde_derive;
+/// Opaque type stored in type-unsafe work queues for parallel layout.
+/// Must be transmutable to and from TNode.
+pub type UnsafeNode = (usize, usize);
+
/// One CSS "px" in the coordinate system of the "initial viewport":
/// http://www.w3.org/TR/css-device-adapt/#initial-viewport
///