iced_core/window/direction.rs
1/// The cardinal directions relative to the center of a window.
2#[derive(Debug, Clone, Copy)]
3pub enum Direction {
4 /// Points to the top edge of a window.
5 North,
6
7 /// Points to the bottom edge of a window.
8 South,
9
10 /// Points to the right edge of a window.
11 East,
12
13 /// Points to the left edge of a window.
14 West,
15
16 /// Points to the top-right corner of a window.
17 NorthEast,
18
19 /// Points to the top-left corner of a window.
20 NorthWest,
21
22 /// Points to the bottom-right corner of a window.
23 SouthEast,
24
25 /// Points to the bottom-left corner of a window.
26 SouthWest,
27}