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§
source§impl Clone for ReleaseScratchPadOption
impl Clone for ReleaseScratchPadOption
source§fn clone(&self) -> ReleaseScratchPadOption
fn clone(&self) -> ReleaseScratchPadOption
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 ReleaseScratchPadOption
impl Debug for ReleaseScratchPadOption
source§impl<'de> Deserialize<'de> for ReleaseScratchPadOption
impl<'de> Deserialize<'de> for ReleaseScratchPadOption
source§fn 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
source§impl PartialEq<ReleaseScratchPadOption> for ReleaseScratchPadOption
impl PartialEq<ReleaseScratchPadOption> for ReleaseScratchPadOption
source§fn eq(&self, other: &ReleaseScratchPadOption) -> bool
fn eq(&self, other: &ReleaseScratchPadOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.