summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--core/src/lib.rs2
-rw-r--r--core/src/size.rs (renamed from native/src/size.rs)0
-rw-r--r--native/src/lib.rs4
3 files changed, 3 insertions, 3 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 3cbce743..ea5e8b43 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -22,6 +22,7 @@ mod font;
mod length;
mod point;
mod rectangle;
+mod size;
mod vector;
pub use align::{Align, HorizontalAlignment, VerticalAlignment};
@@ -31,4 +32,5 @@ pub use font::Font;
pub use length::Length;
pub use point::Point;
pub use rectangle::Rectangle;
+pub use size::Size;
pub use vector::Vector;
diff --git a/native/src/size.rs b/core/src/size.rs
index 389b3247..389b3247 100644
--- a/native/src/size.rs
+++ b/core/src/size.rs
diff --git a/native/src/lib.rs b/native/src/lib.rs
index 3b81ef71..e4e7baee 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -52,12 +52,11 @@ mod event;
mod hasher;
mod mouse_cursor;
mod runtime;
-mod size;
mod user_interface;
pub use iced_core::{
Align, Background, Color, Font, HorizontalAlignment, Length, Point,
- Rectangle, Vector, VerticalAlignment,
+ Rectangle, Size, Vector, VerticalAlignment,
};
pub use iced_futures::{executor, futures, Command};
@@ -72,7 +71,6 @@ pub use layout::Layout;
pub use mouse_cursor::MouseCursor;
pub use renderer::Renderer;
pub use runtime::Runtime;
-pub use size::Size;
pub use subscription::Subscription;
pub use user_interface::{Cache, UserInterface};
pub use widget::*;