diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-03-30 18:47:17 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-03-30 18:47:17 +0100 |
| commit | e6e5aad7cef36a40a8d808fca02866649e464d87 (patch) | |
| tree | a524eb37d960990760182d6790ff9d3d3934b2c0 /src/doc.rs | |
| parent | db96ecae94a7c06d04528e8d4461ebca86d2d249 (diff) | |
Refactor font providing ⚙
Diffstat (limited to 'src/doc.rs')
| -rw-r--r-- | src/doc.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,7 +5,7 @@ use crate::engine::Size; /// A complete typesetted document, which can be exported. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone)] pub struct Document { /// The pages of the document. pub pages: Vec<Page>, @@ -14,7 +14,7 @@ pub struct Document { } /// A page with text contents in a document. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone)] pub struct Page { /// The width of the page. pub width: Size, @@ -25,14 +25,14 @@ pub struct Page { } /// A series of text command, that can be written on to a page. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone)] pub struct Text { /// The text commands. pub commands: Vec<TextCommand>, } /// Different commands for rendering text. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone)] pub enum TextCommand { /// Writing of the text. Text(String), |
