pub enum ReleaseScratchPadOption {
Handle(WindowHandle),
ScratchpadName(ScratchPadName),
None,
}
Expand description
Describes the options for the release scratchpad command
Variants
Handle(WindowHandle)
Release a window from a scratchpad given a window handle
ScratchpadName(ScratchPadName)
Release a window from a scratchpad given a scratchpad name, the most upper window in the scratchpad queue will be released
None
Release the currently focused window from its scratchpad
Trait Implementations
sourceimpl Clone for ReleaseScratchPadOption
impl Clone for ReleaseScratchPadOption
sourcefn clone(&self) -> ReleaseScratchPadOption
fn clone(&self) -> ReleaseScratchPadOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReleaseScratchPadOption
impl Debug for ReleaseScratchPadOption
sourceimpl<'de> Deserialize<'de> for ReleaseScratchPadOption
impl<'de> Deserialize<'de> for ReleaseScratchPadOption
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ReleaseScratchPadOption> for ReleaseScratchPadOption
impl PartialEq<ReleaseScratchPadOption> for ReleaseScratchPadOption
sourcefn eq(&self, other: &ReleaseScratchPadOption) -> bool
fn eq(&self, other: &ReleaseScratchPadOption) -> bool
sourceimpl Serialize for ReleaseScratchPadOption
impl Serialize for ReleaseScratchPadOption
impl Eq for ReleaseScratchPadOption
impl StructuralEq for ReleaseScratchPadOption
impl StructuralPartialEq for ReleaseScratchPadOption
Auto Trait Implementations
impl RefUnwindSafe for ReleaseScratchPadOption
impl Send for ReleaseScratchPadOption
impl Sync for ReleaseScratchPadOption
impl Unpin for ReleaseScratchPadOption
impl UnwindSafe for ReleaseScratchPadOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more