summaryrefslogtreecommitdiff
path: root/src/style.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-11-18 15:10:11 +0100
committerLaurenz <laurmaedje@gmail.com>2019-11-18 15:10:11 +0100
commit1a6fb48bc5e95d0a9ef243ab62517557189c0eea (patch)
tree06f704fe638d5ae25f4976874500c5da75316348 /src/style.rs
parent1eb25f86dd6763c4f2d7e60b6d09af60ada50af6 (diff)
Page style modification functions 📜
- `page.size` - `page.margins`
Diffstat (limited to 'src/style.rs')
-rw-r--r--src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.rs b/src/style.rs
index e2ab0937..da190b46 100644
--- a/src/style.rs
+++ b/src/style.rs
@@ -74,7 +74,7 @@ impl Default for TextStyle {
}
/// Defines the size and margins of a page.
-#[derive(Debug, Clone)]
+#[derive(Debug, Copy, Clone)]
pub struct PageStyle {
/// The width and height of the page.
pub dimensions: Size2D,