diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-10-31 15:52:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-10-31 15:52:35 +0100 |
| commit | 5b344b663a3d224134923eea0d67ebf44c069b07 (patch) | |
| tree | 34a5fb464a38b9d4cb11294379b3ddf351dfce21 /src/lib.rs | |
| parent | feff013abb17f31bc5305fe77fe67cf615c19ff2 (diff) | |
Reorganize modules
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -33,6 +33,7 @@ pub mod diag; pub mod eval; pub mod export; pub mod font; +pub mod frame; pub mod geom; pub mod image; pub mod layout; @@ -49,10 +50,11 @@ use std::rc::Rc; use crate::diag::TypResult; use crate::eval::{Module, Scope}; use crate::font::FontStore; +use crate::frame::Frame; use crate::image::ImageStore; +use crate::layout::PageNode; #[cfg(feature = "layout-cache")] use crate::layout::{EvictionPolicy, LayoutCache}; -use crate::layout::{Frame, PageNode}; use crate::loading::Loader; use crate::source::{SourceId, SourceStore}; use crate::style::Style; |
