diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-24 15:42:56 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-24 15:47:42 +0200 |
| commit | 8fbb11fc05b3313bf102c1f23693290661d00863 (patch) | |
| tree | a198db77338f1cc1304fe50f55020b08e22bca60 /src/library | |
| parent | e4ee14e54fb87961096856c7ea105435b7cc3c45 (diff) | |
Extract `model` module
Diffstat (limited to 'src/library')
| -rw-r--r-- | src/library/prelude.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/library/prelude.rs b/src/library/prelude.rs index a79f3c60..584b2ab2 100644 --- a/src/library/prelude.rs +++ b/src/library/prelude.rs @@ -9,12 +9,15 @@ pub use typst_macros::node; pub use crate::diag::{with_alternative, At, Error, StrResult, TypError, TypResult}; pub use crate::eval::{ - Arg, Args, Array, Cast, Content, Dict, Fold, Func, Key, Layout, LayoutNode, Node, - RawAlign, RawLength, RawStroke, Regions, Resolve, Scope, Show, ShowNode, Smart, - StyleChain, StyleMap, StyleVec, Value, + Arg, Args, Array, Cast, Dict, Func, Node, RawAlign, RawLength, RawStroke, Scope, + Smart, Value, }; pub use crate::frame::*; pub use crate::geom::*; +pub use crate::model::{ + Content, Fold, Key, Layout, LayoutNode, Regions, Resolve, Show, ShowNode, StyleChain, + StyleMap, StyleVec, +}; pub use crate::syntax::{Span, Spanned}; pub use crate::util::{EcoString, OptionExt}; pub use crate::Context; |
