diff options
Diffstat (limited to 'src/doc.rs')
| -rw-r--r-- | src/doc.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/doc.rs b/src/doc.rs deleted file mode 100644 index 9a287913..00000000 --- a/src/doc.rs +++ /dev/null @@ -1,23 +0,0 @@ -//! Representation of typesetted documents. - -use crate::layout::LayoutAction; -use crate::size::Size; - - -/// A complete typesetted document, which can be exported. -#[derive(Debug, Clone)] -pub struct Document { - /// The pages of the document. - pub pages: Vec<Page>, -} - -/// A page of a document. -#[derive(Debug, Clone)] -pub struct Page { - /// The width of the page. - pub width: Size, - /// The height of the page. - pub height: Size, - /// Layouting actions specifying how to draw content on the page. - pub actions: Vec<LayoutAction>, -} |
