summaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index 2368c441..d5ab24e7 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -55,14 +55,14 @@ pub trait Layout {
&self,
ctx: &mut LayoutContext,
constraints: LayoutConstraints,
- ) -> Vec<LayoutItem>;
+ ) -> Vec<Layouted>;
}
/// An item that is produced by [layouting] a node.
///
/// [layouting]: trait.Layout.html#method.layout
#[derive(Debug, Clone, PartialEq)]
-pub enum LayoutItem {
+pub enum Layouted {
/// Spacing that should be added to the parent.
Spacing(Length),
/// A box that should be aligned in the parent.