diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-18 15:10:11 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-18 15:10:11 +0100 |
| commit | 1a6fb48bc5e95d0a9ef243ab62517557189c0eea (patch) | |
| tree | 06f704fe638d5ae25f4976874500c5da75316348 /src/style.rs | |
| parent | 1eb25f86dd6763c4f2d7e60b6d09af60ada50af6 (diff) | |
Page style modification functions 📜
- `page.size`
- `page.margins`
Diffstat (limited to 'src/style.rs')
| -rw-r--r-- | src/style.rs | 2 |
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, |
