aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table.rs
diff options
context:
space:
mode:
authorClément DAVID <c.david86@gmail.com>2017-08-23 14:10:08 +0200
committerClément DAVID <c.david86@gmail.com>2017-08-23 21:38:44 +0200
commitc5fe2351124c673d1dc4d59355a03654b4fcc541 (patch)
treebaa752c3c7847e85c0e50389400b45f7bf2fc390 /components/layout/table.rs
parentab73f3d61d895289898821272f6af2665c9c645c (diff)
downloadservo-c5fe2351124c673d1dc4d59355a03654b4fcc541.tar.gz
servo-c5fe2351124c673d1dc4d59355a03654b4fcc541.zip
order derivable traits lists
Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
Diffstat (limited to 'components/layout/table.rs')
-rw-r--r--components/layout/table.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table.rs b/components/layout/table.rs
index db221518cf7..b56ac7c4d09 100644
--- a/components/layout/table.rs
+++ b/components/layout/table.rs
@@ -588,7 +588,7 @@ impl ISizeAndMarginsComputer for InternalTable {
/// maximum of 100 pixels and 20% of the table), the preceding constraint means that we must
/// potentially store both a specified width *and* a specified percentage, so that the inline-size
/// assignment phase of layout will know which one to pick.
-#[derive(Clone, Serialize, Debug, Copy)]
+#[derive(Clone, Copy, Debug, Serialize)]
pub struct ColumnIntrinsicInlineSize {
/// The preferred intrinsic inline size.
pub preferred: Au,
@@ -625,7 +625,7 @@ impl ColumnIntrinsicInlineSize {
///
/// TODO(pcwalton): There will probably be some `border-collapse`-related info in here too
/// eventually.
-#[derive(Serialize, Clone, Copy, Debug)]
+#[derive(Clone, Copy, Debug, Serialize)]
pub struct ColumnComputedInlineSize {
/// The computed size of this inline column.
pub size: Au,