summaryrefslogtreecommitdiff
path: root/src/style.rs
diff options
context:
space:
mode:
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,