pub enum ManageAction {
Minimize,
Unminimize,
Maximize,
Unmaximize,
Close,
Focus,
Show,
Hide,
Fullscreen,
Unfullscreen,
AlwaysOnTop,
NotAlwaysOnTop,
}Expand description
Window management sub-action for the manage action.
Variants§
Minimize
Minimize the window.
Unminimize
Restore from minimized state.
Maximize
Maximize the window.
Unmaximize
Restore from maximized state.
Close
Close the window.
Focus
Focus the window.
Show
Show the window.
Hide
Hide the window.
Fullscreen
Enter fullscreen mode.
Unfullscreen
Exit fullscreen mode.
AlwaysOnTop
Set the window to always be on top.
NotAlwaysOnTop
Remove the always-on-top flag.
Implementations§
Trait Implementations§
Source§impl Clone for ManageAction
impl Clone for ManageAction
Source§fn clone(&self) -> ManageAction
fn clone(&self) -> ManageAction
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 ManageAction
impl Debug for ManageAction
Source§impl<'de> Deserialize<'de> for ManageAction
impl<'de> Deserialize<'de> for ManageAction
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 ManageAction
impl Display for ManageAction
Source§impl JsonSchema for ManageAction
impl JsonSchema for ManageAction
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 ManageAction
impl PartialEq for ManageAction
Source§fn eq(&self, other: &ManageAction) -> bool
fn eq(&self, other: &ManageAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ManageAction
impl Serialize for ManageAction
impl Copy for ManageAction
impl Eq for ManageAction
impl StructuralPartialEq for ManageAction
Auto Trait Implementations§
impl Freeze for ManageAction
impl RefUnwindSafe for ManageAction
impl Send for ManageAction
impl Sync for ManageAction
impl Unpin for ManageAction
impl UnsafeUnpin for ManageAction
impl UnwindSafe for ManageAction
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