summaryrefslogtreecommitdiff
path: root/src/font.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-08-24 00:39:43 +0200
committerLaurenz <laurmaedje@gmail.com>2021-08-24 00:41:15 +0200
commit148a06c070e6376e6f86b878d08dfd4f0aef8a73 (patch)
tree7330ecae5fa3dbb79c3bb3ce6a099205ec92d2c9 /src/font.rs
parentd546453880721d7a12ea228e5c1ed6c65b653ca2 (diff)
Switch from state to decorations for underline/strikethrough/overline
Diffstat (limited to 'src/font.rs')
-rw-r--r--src/font.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/font.rs b/src/font.rs
index 690884f4..633a1a0e 100644
--- a/src/font.rs
+++ b/src/font.rs
@@ -163,6 +163,7 @@ pub struct Face {
}
/// Metrics for a decorative line.
+#[derive(Debug, Copy, Clone)]
pub struct LineMetrics {
pub strength: Em,
pub position: Em,