Skip to main content

ferroui_base/styling/
container_sizing.rs

1/// Defines how a container is queried.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3pub enum ContainerSizing {
4    /// The container is not included in any size queries.
5    #[default]
6    Normal,
7    /// The container size can be queried for width.
8    Width,
9    /// The container size can be queried for height.
10    Height,
11    /// The container size can be queried for width and height.
12    WidthAndHeight,
13}