Skip to main content

tui_overlay/
anchor.rs

1/// 9-point positioning grid for overlay placement within a parent area.
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
3pub enum Anchor {
4    TopLeft,
5    Top,
6    TopRight,
7    Left,
8    #[default]
9    Center,
10    Right,
11    BottomLeft,
12    Bottom,
13    BottomRight,
14}