iced_aw/core/alignment.rs
1//! Alignment enum, similar to an anchor
2
3/// ```text
4/// +-----------+-----------+-----------+
5/// | TopStart | Top | TopEnd |
6/// +-----------+-----------+-----------+
7/// | Start | | End |
8/// +-----------+-----------+-----------+
9/// |BottomStart| Bottom | BottomEnd |
10/// +-----------+-----------+-----------+
11/// ```
12#[allow(missing_docs)]
13#[derive(Debug, Clone, PartialEq, Eq)]
14pub enum Alignment {
15 TopStart,
16 Top,
17 TopEnd,
18
19 End,
20
21 BottomEnd,
22 Bottom,
23 BottomStart,
24
25 Start,
26}