Skip to main content

ferroui_controls/notifications/
notification_position.rs

1/// Describes the possible positions for notifications that are displayed by
2/// a [`WindowNotificationManager`](super::WindowNotificationManager).
3#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
4#[repr(i32)]
5pub enum NotificationPosition {
6    #[default]
7    TopLeft = 0,
8    TopRight = 1,
9    BottomLeft = 2,
10    BottomRight = 3,
11    TopCenter = 4,
12    BottomCenter = 5,
13}