Docs.rs
  • tauri-runtime-2.0.0-beta.15
    • tauri-runtime 2.0.0-beta.15
    • Docs.rs crate page
    • Apache-2.0 OR MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • tauri-bot
    • Dependencies
      • dpi ^0.1 normal
      • http ^1.1 normal
      • raw-window-handle ^0.6 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • tauri-utils ^2.0.0-beta.14 normal
      • thiserror ^1.0 normal
      • url ^2 normal
      • gtk ^0.18 normal
      • jni ^0.21 normal
      • url ^2 normal
      • windows ^0.56 normal
    • Versions
    • 78.2% of the crate is documented
  • Go to latest stable release
  • Platform
    • x86_64-apple-darwin
    • x86_64-apple-ios
    • x86_64-linux-android
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate tauri_runtime

logo

tauri_runtime2.0.0-beta.15

  • All Items
  • Re-exports
  • Modules
  • Structs
  • Enums
  • Traits
  • Type Aliases

Crates

  • tauri_runtime
?
Settings

Crate tauri_runtime

source ·
Expand description

Internal runtime between Tauri and the underlying webview runtime.

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

Results

trait
tauri_runtime::RuntimeHandle
A Send handle to the runtime.
trait method
tauri_runtime::RuntimeHandle::create_proxy
Creates an EventLoopProxy that can be used to dispatch …
trait method
tauri_runtime::RuntimeHandle::primary_monitor
trait method
tauri_runtime::RuntimeHandle::available_monitors
trait method
tauri_runtime::RuntimeHandle::request_exit
Requests an exit of the event loop.
trait method
tauri_runtime::RuntimeHandle::display_handle
trait method
tauri_runtime::RuntimeHandle::cursor_position
trait method
tauri_runtime::RuntimeHandle::create_webview
Create a new webview.
trait method
tauri_runtime::RuntimeHandle::run_on_main_thread
Run a task on the main thread.
trait method
tauri_runtime::Runtime::handle
Gets a runtime handle.
trait method
tauri_runtime::Runtime::create_proxy
Creates an EventLoopProxy that can be used to dispatch …
trait method
tauri_runtime::RuntimeHandle::create_window
Create a new window.
trait method
tauri_runtime::Runtime::primary_monitor
trait method
tauri_runtime::Runtime::available_monitors
trait method
tauri_runtime::Runtime::run
Run the webview runtime.
trait method
tauri_runtime::Runtime::cursor_position
trait method
tauri_runtime::Runtime::set_device_event_filter
Change the device event filter mode.
trait method
tauri_runtime::Runtime::create_webview
Create a new webview.
trait method
tauri_runtime::Runtime::run_iteration
Runs an iteration of the runtime event loop and returns …
trait method
tauri_runtime::Runtime::create_window
Create a new window.
trait method
tauri_runtime::Runtime::handle
Gets a runtime handle.
trait method
tauri_runtime::Runtime::new
Creates a new webview runtime. Must be used on the main …
trait method
tauri_runtime::Runtime::new_any_thread
Creates a new webview runtime on any thread.
trait method
tauri_runtime::Runtime::create_webview
Create a new webview.
trait method
tauri_runtime::Runtime::create_window
Create a new window.