Enum tauri_runtime_wry::WindowMessage[][src]

pub enum WindowMessage {
Show 40 variants ScaleFactor(Sender<f64>), InnerPosition(Sender<Result<PhysicalPosition<i32>>>), OuterPosition(Sender<Result<PhysicalPosition<i32>>>), InnerSize(Sender<PhysicalSize<u32>>), OuterSize(Sender<PhysicalSize<u32>>), IsFullscreen(Sender<bool>), IsMaximized(Sender<bool>), IsDecorated(Sender<bool>), IsResizable(Sender<bool>), IsVisible(Sender<bool>), IsMenuVisible(Sender<bool>), CurrentMonitor(Sender<Option<MonitorHandle>>), PrimaryMonitor(Sender<Option<MonitorHandle>>), AvailableMonitors(Sender<Vec<MonitorHandle>>), GtkWindow(Sender<GtkWindow>), Center(Sender<Result<()>>), RequestUserAttention(Option<UserAttentionTypeWrapper>), SetResizable(bool), SetTitle(String), Maximize, Unmaximize, Minimize, Unminimize, ShowMenu, HideMenu, Show, Hide, Close, SetDecorations(bool), SetAlwaysOnTop(bool), SetSize(Size), SetMinSize(Option<Size>), SetMaxSize(Option<Size>), SetPosition(Position), SetFullscreen(bool), SetFocus, SetIcon(WindowIcon), SetSkipTaskbar(bool), DragWindow, UpdateMenuItem(u16, MenuUpdate),
}

Variants

ScaleFactor

Tuple Fields of ScaleFactor

0: Sender<f64>
InnerPosition

Tuple Fields of InnerPosition

0: Sender<Result<PhysicalPosition<i32>>>
OuterPosition

Tuple Fields of OuterPosition

0: Sender<Result<PhysicalPosition<i32>>>
InnerSize

Tuple Fields of InnerSize

0: Sender<PhysicalSize<u32>>
OuterSize

Tuple Fields of OuterSize

0: Sender<PhysicalSize<u32>>
IsFullscreen

Tuple Fields of IsFullscreen

0: Sender<bool>
IsMaximized

Tuple Fields of IsMaximized

0: Sender<bool>
IsDecorated

Tuple Fields of IsDecorated

0: Sender<bool>
IsResizable

Tuple Fields of IsResizable

0: Sender<bool>
IsVisible

Tuple Fields of IsVisible

0: Sender<bool>
IsMenuVisible

Tuple Fields of IsMenuVisible

0: Sender<bool>
CurrentMonitor

Tuple Fields of CurrentMonitor

0: Sender<Option<MonitorHandle>>
PrimaryMonitor

Tuple Fields of PrimaryMonitor

0: Sender<Option<MonitorHandle>>
AvailableMonitors

Tuple Fields of AvailableMonitors

0: Sender<Vec<MonitorHandle>>
GtkWindow

Tuple Fields of GtkWindow

0: Sender<GtkWindow>
Center

Tuple Fields of Center

0: Sender<Result<()>>
RequestUserAttention

Tuple Fields of RequestUserAttention

0: Option<UserAttentionTypeWrapper>
SetResizable

Tuple Fields of SetResizable

0: bool
SetTitle

Tuple Fields of SetTitle

0: String
Maximize
Unmaximize
Minimize
Unminimize
ShowMenu
HideMenu
Show
Hide
Close
SetDecorations

Tuple Fields of SetDecorations

0: bool
SetAlwaysOnTop

Tuple Fields of SetAlwaysOnTop

0: bool
SetSize

Tuple Fields of SetSize

0: Size
SetMinSize

Tuple Fields of SetMinSize

0: Option<Size>
SetMaxSize

Tuple Fields of SetMaxSize

0: Option<Size>
SetPosition

Tuple Fields of SetPosition

0: Position
SetFullscreen

Tuple Fields of SetFullscreen

0: bool
SetFocus
SetIcon

Tuple Fields of SetIcon

0: WindowIcon
SetSkipTaskbar

Tuple Fields of SetSkipTaskbar

0: bool
DragWindow
UpdateMenuItem

Tuple Fields of UpdateMenuItem

0: u161: MenuUpdate

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.