diff options
author | 2021-09-20 15:09:55 +0700 | |
---|---|---|
committer | 2021-09-20 15:14:08 +0700 | |
commit | a0ad3996225601aaa1ebe051cba115374b55c80e (patch) | |
tree | 8420a91cd319a63b1ed257a6334453a1a673bdfb /core/src/lib.rs | |
parent | 5fae6e59ffbc5913761df638dc7f0c35b7f43bc9 (diff) | |
download | iced-a0ad3996225601aaa1ebe051cba115374b55c80e.tar.gz iced-a0ad3996225601aaa1ebe051cba115374b55c80e.tar.bz2 iced-a0ad3996225601aaa1ebe051cba115374b55c80e.zip |
Refactor alignment types into an `alignment` module
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r-- | core/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs index b0aa4e12..1f58a8cd 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -14,11 +14,11 @@ #![deny(unused_results)] #![forbid(unsafe_code)] #![forbid(rust_2018_idioms)] +pub mod alignment; pub mod keyboard; pub mod mouse; pub mod text; -mod align; mod background; mod color; mod font; @@ -29,7 +29,7 @@ mod rectangle; mod size; mod vector; -pub use align::{Align, CrossAlign, HorizontalAlignment, VerticalAlignment}; +pub use alignment::Alignment; pub use background::Background; pub use color::Color; pub use font::Font; |