Migrated -Z trace-layout to serde_json

This commit is contained in:
Shing Lyu 2016-10-12 11:47:04 +08:00
parent f48b3fe219
commit 8bea421329
19 changed files with 129 additions and 114 deletions

View file

@ -30,7 +30,7 @@ use table::InternalTable;
use table_row::{CollapsedBorder, CollapsedBorderProvenance};
/// A table formatting context.
#[derive(RustcEncodable)]
#[derive(Serialize)]
pub struct TableCellFlow {
/// Data common to all block flows.
pub block_flow: BlockFlow,
@ -297,7 +297,7 @@ impl fmt::Debug for TableCellFlow {
}
}
#[derive(Copy, Clone, Debug, RustcEncodable)]
#[derive(Copy, Clone, Debug, Serialize)]
pub struct CollapsedBordersForCell {
pub inline_start_border: CollapsedBorder,
pub inline_end_border: CollapsedBorder,