`List::start_corner` was deprecated in v0.25. Use `List::direction` and `ListDirection` instead. ```diff - list.start_corner(Corner::TopLeft); - list.start_corner(Corner::TopRight); // This is not an error, BottomRight rendered top to bottom previously - list.start_corner(Corner::BottomRight); // all becomes + list.direction(ListDirection::TopToBottom); ``` ```diff - list.start_corner(Corner::BottomLeft); // becomes + list.direction(ListDirection::BottomToTop); ``` `layout::Corner` is removed entirely. Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>
23 lines
415 B
Rust
23 lines
415 B
Rust
#![warn(clippy::missing_const_for_fn)]
|
|
|
|
mod alignment;
|
|
mod constraint;
|
|
mod direction;
|
|
mod flex;
|
|
#[allow(clippy::module_inception)]
|
|
mod layout;
|
|
mod margin;
|
|
mod position;
|
|
mod rect;
|
|
mod size;
|
|
|
|
pub use alignment::Alignment;
|
|
pub use constraint::Constraint;
|
|
pub use direction::Direction;
|
|
pub use flex::Flex;
|
|
pub use layout::Layout;
|
|
pub use margin::Margin;
|
|
pub use position::Position;
|
|
pub use rect::*;
|
|
pub use size::Size;
|