pub enum WindowChromeOp {
Minimize,
ToggleMaximize,
}Expand description
Title-bar chrome operation queued for a logical window.
The runtime records requests but does not inspect native window state, so maximize is expressed as a toggle rather than an absolute value.
§Examples
use ailloli_ui_runtime::app::WindowChromeOp;
assert_ne!(WindowChromeOp::Minimize, WindowChromeOp::ToggleMaximize);Variants§
Minimize
Ask the host to minimize the addressed native window.
ToggleMaximize
Ask the host to invert the addressed window’s maximized state.
Trait Implementations§
Source§impl Clone for WindowChromeOp
impl Clone for WindowChromeOp
Source§fn clone(&self) -> WindowChromeOp
fn clone(&self) -> WindowChromeOp
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 WindowChromeOp
impl Debug for WindowChromeOp
Source§impl PartialEq for WindowChromeOp
impl PartialEq for WindowChromeOp
impl Copy for WindowChromeOp
impl Eq for WindowChromeOp
impl StructuralPartialEq for WindowChromeOp
Auto Trait Implementations§
impl Freeze for WindowChromeOp
impl RefUnwindSafe for WindowChromeOp
impl Send for WindowChromeOp
impl Sync for WindowChromeOp
impl Unpin for WindowChromeOp
impl UnwindSafe for WindowChromeOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
Source§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.