pub enum Screen {
Main,
Index(usize),
}Expand description
Specifies which screen to use for window placement.
Variants§
Main
The main screen (default). This is typically the screen with the menu bar.
Index(usize)
A specific screen by index (0-based). Index 0 is typically the main screen.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
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