This stores the x and y coordinates (columns and rows) - add conversions from Rect - add conversion with Size to Rect - add Rect::as_position
28 lines
595 B
Rust
28 lines
595 B
Rust
mod alignment;
|
|
mod constraint;
|
|
mod corner;
|
|
mod direction;
|
|
mod flex;
|
|
#[allow(clippy::module_inception)]
|
|
mod layout;
|
|
mod margin;
|
|
mod position;
|
|
mod rect;
|
|
mod segment_size;
|
|
mod size;
|
|
|
|
pub use alignment::Alignment;
|
|
pub use constraint::Constraint;
|
|
pub use corner::Corner;
|
|
pub use direction::Direction;
|
|
pub use flex::Flex;
|
|
pub use layout::Layout;
|
|
pub use margin::Margin;
|
|
pub use position::Position;
|
|
pub use rect::*;
|
|
#[cfg(feature = "unstable-segment-size")]
|
|
pub use segment_size::SegmentSize;
|
|
#[cfg(not(feature = "unstable-segment-size"))]
|
|
pub(crate) use segment_size::SegmentSize;
|
|
pub use size::Size;
|