diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-02 14:48:51 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-02 14:48:51 +0100 |
| commit | 56342bd972a13ffe21beaf2b87ab7eb1597704b4 (patch) | |
| tree | 78f9549141e753dde4a938670c54f3fe8695a058 /src/model/mod.rs | |
| parent | 37ac5d966ebaf97ac79c507028cd5b742b510b89 (diff) | |
Move layout traits into library
Diffstat (limited to 'src/model/mod.rs')
| -rw-r--r-- | src/model/mod.rs | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index aba9514c..b4f8f653 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -1,14 +1,6 @@ //! Layout and computation model. #[macro_use] -mod styles; -mod collapse; -mod content; -mod eval; -mod layout; -mod property; -mod recipe; -#[macro_use] mod cast; #[macro_use] mod array; @@ -18,38 +10,29 @@ mod dict; mod str; #[macro_use] mod value; +#[macro_use] +mod styles; mod args; -mod capture; -mod fold; +mod content; +mod eval; mod func; -pub mod methods; -pub mod ops; -mod raw; -mod realize; -mod resolve; mod scope; mod vm; +pub mod methods; +pub mod ops; + pub use self::str::*; pub use args::*; pub use array::*; -pub use capture::*; pub use cast::*; pub use content::*; pub use dict::*; pub use eval::*; -pub use fold::*; pub use func::*; -pub use layout::*; -pub use property::*; -pub use raw::*; -pub use recipe::*; -pub use resolve::*; pub use scope::*; pub use styles::*; -pub use typst_macros::node; pub use value::*; pub use vm::*; -// use collapse::*; -use realize::*; +pub use typst_macros::{capability, node}; |
