diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-04 13:48:07 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-04 13:48:07 +0200 |
| commit | 2467cd6272c13b618ad53c5dadff5b8c8e7885bf (patch) | |
| tree | 6ad13ec06a04997564efc514b40daa3fb65233e2 /src/layout/mod.rs | |
| parent | ed4fdcb0ada909f1cc3d7436334e253f0ec14d55 (diff) | |
Refactor function parsing ♻
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 3cfb872f..5f5a4859 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -10,7 +10,9 @@ mod tree; /// Basic types used across the layouting engine. pub mod prelude { pub use super::primitive::*; - pub use super::layout; + pub use super::{ + BoxLayout, layout, Layout, LayoutContext, LayoutSpace, MultiLayout, + }; pub use Dir::*; pub use GenAlign::*; pub use GenAxis::*; @@ -46,7 +48,7 @@ pub struct BoxLayout { pub elements: LayoutElements, } -/// Comamnd-based layout. +/// Command-based layouting. #[async_trait(?Send)] pub trait Layout { /// Create a sequence of layouting commands to execute. |
