From 2467cd6272c13b618ad53c5dadff5b8c8e7885bf Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 4 Aug 2020 13:48:07 +0200 Subject: =?UTF-8?q?Refactor=20function=20parsing=20=E2=99=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/layout') 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. -- cgit v1.2.3