Auto merge of #22684 - servo:next-layout, r=emilio,SimonSapin

Some janitoring over the layout crate

This PR moves a bunch of code around and makes some methods from one-use traits into inherent methods.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22684)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-01-14 14:35:28 -05:00 committed by GitHub
commit c242abd999
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 386 additions and 805 deletions

1
Cargo.lock generated
View file

@ -3315,7 +3315,6 @@ dependencies = [
"html5ever 0.22.5 (registry+https://github.com/rust-lang/crates.io-index)",
"ipc-channel 0.11.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.44 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
"malloc_size_of 0.0.1",
"malloc_size_of_derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"metrics 0.0.1",