summaryrefslogtreecommitdiffstats
path: root/core/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Emi Simpson <emi@alchemi.dev>2022-01-22 20:09:35 -0500
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-16 18:19:33 +0700
commitca1fcdaf1454fd3febae8e6864c9a7dec04f41b1 (patch)
tree56c062b664a5060bee6ca98a48fd018c16c2fa9c /core/src/lib.rs
parentadce9e04213803bd775538efddf6e7908d1c605e (diff)
downloadiced-ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1.tar.gz
iced-ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1.tar.bz2
iced-ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1.zip
Add support for `ContentFit` for `Image`
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r--core/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 2a4e6158..0eac97c2 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -22,6 +22,7 @@ pub mod time;
mod background;
mod color;
mod font;
+mod image;
mod length;
mod padding;
mod point;
@@ -33,6 +34,7 @@ pub use alignment::Alignment;
pub use background::Background;
pub use color::Color;
pub use font::Font;
+pub use image::ContentFit;
pub use length::Length;
pub use padding::Padding;
pub use point::Point;