Enum modalkit::prelude::WindowTarget
source · pub enum WindowTarget {
Single(FocusChange),
AllBut(FocusChange),
All,
}
Expand description
This represents what windows are targeted by a window command.
Variants§
Single(FocusChange)
Close the window targeted by FocusChange.
AllBut(FocusChange)
Close all windows except for the one targeted by FocusChange.
All
Close all windows.
Trait Implementations§
source§impl Clone for WindowTarget
impl Clone for WindowTarget
source§fn clone(&self) -> WindowTarget
fn clone(&self) -> WindowTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowTarget
impl Debug for WindowTarget
source§impl PartialEq for WindowTarget
impl PartialEq for WindowTarget
source§fn eq(&self, other: &WindowTarget) -> bool
fn eq(&self, other: &WindowTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WindowTarget
impl StructuralPartialEq for WindowTarget
Auto Trait Implementations§
impl Freeze for WindowTarget
impl RefUnwindSafe for WindowTarget
impl Send for WindowTarget
impl Sync for WindowTarget
impl Unpin for WindowTarget
impl UnwindSafe for WindowTarget
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