# use-layout
Platform-neutral layout vocabulary primitives for RustUse UI.
## Purpose
`use-layout` describes layout semantics such as direction, axis, alignment, justification, placement, and flow. It does not implement a layout engine.
## Example
```rust
use use_layout::{Alignment, Axis, Direction, Flow, Placement};
assert_eq!(Direction::Vertical.axis(), Axis::Block);
assert_eq!(Axis::Inline.direction(), Direction::Horizontal);
assert!(Alignment::Stretch.is_stretched());
assert!(Placement::Top.is_edge());
assert_eq!(Flow::Row.direction(), Some(Direction::Horizontal));
```
## Main types
- `Direction`
- `Alignment`
- `Justification`
- `Placement`
- `Flow`
- `Axis`
## Facade relationship
The `use-ui` facade exposes this crate as `use_ui::layout` when the `layout` or `full` feature is enabled.