diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-10-13 12:08:07 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-10-13 12:08:07 +0200 |
| commit | 463e4ebd8234da5e28700e9b22b6ef5f0dfef56f (patch) | |
| tree | 01f3961d6996de3ee8f9819c2792f6ee8c2a3c3d /src/library/mod.rs | |
| parent | 6f22e4f13c42f06b686a01fbdd28a0163e88ae77 (diff) | |
Refactor layout types 🚧
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 9323c4c0..acbd11db 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -9,10 +9,9 @@ mod styles; pub mod prelude { pub use crate::syntax::{SyntaxTree, FuncHeader, Expression}; pub use crate::parsing::{parse, ParseContext, ParseResult, ParseError}; - pub use crate::layout::{layout, Layout, LayoutContext, LayoutResult, LayoutError}; - pub use crate::layout::flex::FlexLayout; - pub use crate::layout::boxed::BoxLayout; - pub use crate::func::Function; + pub use crate::layout::{layout_tree, layout_text, MultiLayout, Layout, LayoutContext}; + pub use crate::layout::{LayoutResult, LayoutError}; + pub use crate::func::{Function, Command, FuncCommands}; pub fn err<S: Into<String>, T>(message: S) -> ParseResult<T> { Err(ParseError::new(message)) |
