pub enum ControlTarget {
Minimize,
Maximize,
Close,
}Expand description
Target a synthetic title-bar tap or hover at a specific button.
The Windows backend posts these as part of
TitleBarSyntheticEvent / TitleBarHoverEvent payloads; the
teksilo-app dispatcher then looks up the matching widget id via
PlatformTitleBarHost::title_bar_widget_id.
Variants§
Trait Implementations§
Source§impl Clone for ControlTarget
impl Clone for ControlTarget
Source§fn clone(&self) -> ControlTarget
fn clone(&self) -> ControlTarget
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 moreimpl Copy for ControlTarget
Source§impl Debug for ControlTarget
impl Debug for ControlTarget
impl Eq for ControlTarget
Source§impl Hash for ControlTarget
impl Hash for ControlTarget
Source§impl PartialEq for ControlTarget
impl PartialEq for ControlTarget
impl StructuralPartialEq for ControlTarget
Auto Trait Implementations§
impl Freeze for ControlTarget
impl RefUnwindSafe for ControlTarget
impl Send for ControlTarget
impl Sync for ControlTarget
impl Unpin for ControlTarget
impl UnsafeUnpin for ControlTarget
impl UnwindSafe for ControlTarget
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