mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Derive Debug on FontGroup and its components
This commit is contained in:
parent
3d078f7c64
commit
c5ede5851e
10 changed files with 16 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue