Docs.rs
  • tauri-runtime-2.0.0-rc.9
    • tauri-runtime 2.0.0-rc.9
    • 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-rc.9 normal
      • thiserror ^1.0 normal
      • url ^2 normal
      • gtk ^0.18 normal
      • jni ^0.21 normal
      • url ^2 normal
      • windows ^0.58 normal
    • Versions
    • 77.89% 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-rc.9

  • 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.

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

Results

assoc type
tauri_runtime::Runtime::EventLoopProxy
The proxy type.
trait
tauri_runtime::EventLoopProxy
trait method
tauri_runtime::EventLoopProxy::send_event
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::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::monitor_from_point
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::create_window
Create a new window.
trait method
tauri_runtime::Runtime::create_proxy
Creates an EventLoopProxy that can be used to dispatch …
trait method
tauri_runtime::Runtime::new
Creates a new webview runtime. Must be used on the main …
trait method
tauri_runtime::Runtime::create_webview
Create a new webview.
trait method
tauri_runtime::Runtime::create_window
Create a new window.