Derive Debug on FontGroup and its components

This commit is contained in:
Olaf Buddenhagen 2015-12-09 19:35:14 +01:00
parent 3d078f7c64
commit c5ede5851e
10 changed files with 16 additions and 8 deletions

View file

@ -14,7 +14,7 @@ use style::computed_values::{font_stretch, font_weight};
/// to be expanded or refactored when we support more of the font styling parameters.
///
/// NB: If you change this, you will need to update `style::properties::compute_font_hash()`.
#[derive(Clone, Copy, Eq, Hash, Deserialize, Serialize)]
#[derive(Clone, Copy, Eq, Hash, Deserialize, Serialize, Debug)]
pub struct FontTemplateDescriptor {
pub weight: font_weight::T,
pub stretch: font_stretch::T,