pub enum WindowAction {
GetState,
List,
Manage,
Resize,
MoveTo,
SetTitle,
}Expand description
Action for the compound window tool.
Variants§
GetState
Get the current state of a window.
List
List all window labels.
Manage
Manage a window (minimize, maximize, close, etc.).
Resize
Resize a window.
MoveTo
Move a window to a new position.
SetTitle
Set a window’s title.
Trait Implementations§
Source§impl Clone for WindowAction
impl Clone for WindowAction
Source§fn clone(&self) -> WindowAction
fn clone(&self) -> WindowAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowAction
impl Debug for WindowAction
Source§impl<'de> Deserialize<'de> for WindowAction
impl<'de> Deserialize<'de> for WindowAction
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 Display for WindowAction
impl Display for WindowAction
Source§impl JsonSchema for WindowAction
impl JsonSchema for WindowAction
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WindowAction
impl PartialEq for WindowAction
Source§fn eq(&self, other: &WindowAction) -> bool
fn eq(&self, other: &WindowAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindowAction
impl Serialize for WindowAction
impl Copy for WindowAction
impl Eq for WindowAction
impl StructuralPartialEq for WindowAction
Auto Trait Implementations§
impl Freeze for WindowAction
impl RefUnwindSafe for WindowAction
impl Send for WindowAction
impl Sync for WindowAction
impl Unpin for WindowAction
impl UnsafeUnpin for WindowAction
impl UnwindSafe for WindowAction
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