Crate tauri_runtime

Source
Expand description

Internal runtime between Tauri and the underlying webview runtime.

None of the exposed API of this crate is stable, and it may break semver compatibility in the future. The major version only signifies the intended Tauri version.

Re-exports§

pub use dpi;

Modules§

monitor
Types useful for interacting with a user’s monitors.
webview
A layer between raw Runtime webviews and Tauri.
window
A layer between raw Runtime windows and Tauri.

Structs§

Icon
Window icon.
ProgressBarState
Progress Bar State
Rect
A rectangular region.
RuntimeInitArgs

Enums§

DeviceEventFilter
Error
ExitRequestedEventAction
Action to take when the event loop is about to exit
ProgressBarStatus
Progress bar status.
ResizeDirection
Defines the orientation that a window resize will be performed.
RunEvent
Event triggered on the event loop run.
UserAttentionType
Type of user attention requested on a window.

Traits§

EventLoopProxy
Runtime
The webview runtime interface.
RuntimeHandle
A Send handle to the runtime.
UserEvent
A type that can be used as an user event.
WebviewDispatch
Webview dispatcher. A thread-safe handle to the webview APIs.
WindowDispatch
Window dispatcher. A thread-safe handle to the window APIs.

Type Aliases§

Result
Result type.
WebviewEventId
WindowEventId