#[repr(i32)]pub enum WindowStartupLocation {
Manual = 0,
CenterScreen = 1,
CenterOwner = 2,
}Expand description
Determines the startup location of the window.
Variants§
Manual = 0
The startup location is defined by the position property.
CenterScreen = 1
The startup location is the center of the screen.
CenterOwner = 2
The startup location is the center of the owner window. If the owner window is not specified, the startup location will be manual.
Trait Implementations§
Source§impl Clone for WindowStartupLocation
impl Clone for WindowStartupLocation
impl Copy for WindowStartupLocation
Source§impl Debug for WindowStartupLocation
impl Debug for WindowStartupLocation
Source§impl Default for WindowStartupLocation
impl Default for WindowStartupLocation
impl Eq for WindowStartupLocation
Source§impl Hash for WindowStartupLocation
impl Hash for WindowStartupLocation
Source§impl MarkupTyped for WindowStartupLocation
impl MarkupTyped for WindowStartupLocation
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for WindowStartupLocation
impl PartialEq for WindowStartupLocation
impl StructuralPartialEq for WindowStartupLocation
Auto Trait Implementations§
impl Freeze for WindowStartupLocation
impl RefUnwindSafe for WindowStartupLocation
impl Send for WindowStartupLocation
impl Sync for WindowStartupLocation
impl Unpin for WindowStartupLocation
impl UnsafeUnpin for WindowStartupLocation
impl UnwindSafe for WindowStartupLocation
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