pub enum Placement {
System,
Centred,
}Expand description
Where a window opens when no WindowFrame says.
Variants§
System
Where the platform puts a new window. The default.
Centred
Centred on its screen’s work area. Where the platform places windows itself (Wayland, and GTK everywhere), it still does.
Trait Implementations§
impl Copy for Placement
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Forget for Placement
impl Freeze for Placement
impl Move for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
Blanket Implementations§
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