Rename image module to content_fit in iced_core

Since we are just exposing the `ContentFit` type and not the module `image` at all.
This commit is contained in:
Héctor Ramón Jiménez 2022-02-16 17:28:04 +07:00
parent ca1fcdaf14
commit c6486978de
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 11 additions and 11 deletions

View file

@ -21,8 +21,8 @@ pub mod time;
mod background;
mod color;
mod content_fit;
mod font;
mod image;
mod length;
mod padding;
mod point;
@ -33,8 +33,8 @@ mod vector;
pub use alignment::Alignment;
pub use background::Background;
pub use color::Color;
pub use content_fit::ContentFit;
pub use font::Font;
pub use image::ContentFit;
pub use length::Length;
pub use padding::Padding;
pub use point::Point;