order derivable traits lists

Ignoring :
 - **generated**.rs
 - python/tidy/servo_tidy_tests/rust_tidy.rs
This commit is contained in:
Clément DAVID 2017-08-23 14:10:08 +02:00
parent ab73f3d61d
commit c5fe235112
194 changed files with 553 additions and 552 deletions

View file

@ -13,7 +13,7 @@ use style::logical_geometry::{LogicalRect, LogicalSize, WritingMode};
use style::values::computed::LengthOrPercentageOrAuto;
/// The kind of float: left or right.
#[derive(Clone, Serialize, Debug, Copy)]
#[derive(Clone, Copy, Debug, Serialize)]
pub enum FloatKind {
Left,
Right
@ -30,7 +30,7 @@ impl FloatKind {
}
/// The kind of clearance: left, right, or both.
#[derive(Copy, Clone)]
#[derive(Clone, Copy)]
pub enum ClearType {
Left,
Right,
@ -431,7 +431,7 @@ impl Floats {
/// This is used for two purposes: (a) determining whether we can lay out blocks in parallel; (b)
/// guessing the inline-sizes of block formatting contexts in an effort to lay them out in
/// parallel.
#[derive(Copy, Clone)]
#[derive(Clone, Copy)]
pub struct SpeculatedFloatPlacement {
/// The estimated inline size (an upper bound) of the left floats flowing through this flow.
pub left: Au,