Struct tauri_runtime_wry::WryDispatcher[][src]

pub struct WryDispatcher { /* fields omitted */ }
Expand description

The Tauri Dispatch for Wry.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Gets the window’s current decoration state.

Gets the window’s current resizable state.

Returns the ApplicatonWindow from gtk crate that is used by this window.

The runtime this Dispatch runs under.

The winoow builder type.

Run a task on the main thread.

Registers a window event handler.

Returns the scale factor that can be used to map logical pixels to physical pixels, and vice versa.

Returns the position of the top-left hand corner of the window’s client area relative to the top-left hand corner of the desktop.

Returns the position of the top-left hand corner of the window relative to the top-left hand corner of the desktop.

Returns the physical size of the window’s client area. Read more

Returns the physical size of the entire window. Read more

Gets the window’s current fullscreen state.

Gets the window’s current maximized state.

Gets the window’s current vibility state.

Returns the monitor on which the window currently resides. Read more

Returns the primary monitor of the system. Read more

Returns the list of all the monitors available on the system.

Centers the window.

Opens the dialog to prints the contents of the webview.

Requests user attention to the window. Read more

Create a new webview window.

Updates the window resizable flag.

Updates the window title.

Maximizes the window.

Unmaximizes the window.

Minimizes the window.

Unminimizes the window.

Shows the window.

Hides the window.

Closes the window.

Updates the hasDecorations flag.

Updates the window alwaysOnTop flag.

Resizes the window.

Updates the window min size.

Updates the window max size.

Updates the window position.

Updates the window fullscreen state.

Bring the window to front and focus.

Updates the window icon.

Whether to show the window icon in the task bar or not.

Starts dragging the window.

Executes javascript on the window this Dispatch represents.

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.