#[repr(i32)]pub enum NotificationPosition {
TopLeft = 0,
TopRight = 1,
BottomLeft = 2,
BottomRight = 3,
TopCenter = 4,
BottomCenter = 5,
}Expand description
Describes the possible positions for notifications that are displayed by
a WindowNotificationManager.
Variants§
Trait Implementations§
Source§impl Clone for NotificationPosition
impl Clone for NotificationPosition
impl Copy for NotificationPosition
Source§impl Debug for NotificationPosition
impl Debug for NotificationPosition
Source§impl Default for NotificationPosition
impl Default for NotificationPosition
impl Eq for NotificationPosition
Source§impl Hash for NotificationPosition
impl Hash for NotificationPosition
Source§impl MarkupTyped for NotificationPosition
impl MarkupTyped for NotificationPosition
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for NotificationPosition
impl PartialEq for NotificationPosition
impl StructuralPartialEq for NotificationPosition
Auto Trait Implementations§
impl Freeze for NotificationPosition
impl RefUnwindSafe for NotificationPosition
impl Send for NotificationPosition
impl Sync for NotificationPosition
impl Unpin for NotificationPosition
impl UnsafeUnpin for NotificationPosition
impl UnwindSafe for NotificationPosition
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more