Docs.rs
  • tauri-runtime-2.4.0
    • tauri-runtime 2.4.0
    • 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 normal
      • raw-window-handle ^0.6 normal
      • serde ^1 normal
      • serde_json ^1 normal
      • tauri-utils ^2.2.0 normal
      • thiserror ^2 normal
      • url ^2 normal
      • gtk ^0.18 normal
      • jni ^0.21 normal
      • url ^2 normal
      • windows ^0.60 normal
    • Versions
    • 76.7% of the crate is documented
  • Go to latest version
  • 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
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • 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.4.0

  • All Items

Crate Items

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

Crates

  • tauri_runtime

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

Settings
Help
    trait
    tauri_runtime::Runtime
    The webview runtime interface.
    assoc type
    tauri_runtime::WebviewDispatch::Runtime
    The runtime this WebviewDispatch runs under.
    assoc type
    tauri_runtime::WindowDispatch::Runtime
    The runtime this WindowDispatch runs under.
    assoc type
    tauri_runtime::RuntimeHandle::Runtime
    trait
    tauri_runtime::RuntimeHandle
    A Send handle to the runtime.
    struct
    tauri_runtime::RuntimeInitArgs
    extern crate
    tauri_runtime
    Internal runtime between Tauri and the underlying webview …
    trait method
    tauri_runtime::Runtime::handle
    &Runtime -> Runtime::Handle
    Gets a runtime handle.
    trait method
    tauri_runtime::Runtime::create_proxy
    &Runtime -> Runtime::EventLoopProxy
    Creates an EventLoopProxy that can be used to dispatch …
    trait method
    tauri_runtime::Runtime::primary_monitor
    &Runtime -> Option<Monitor>
    trait method
    tauri_runtime::Runtime::available_monitors
    &Runtime -> Vec<Monitor>
    trait method
    tauri_runtime::Runtime::set_theme
    &Runtime, Option<Theme> -> ()
    trait method
    tauri_runtime::Runtime::cursor_position
    &Runtime -> Result<PhysicalPosition<f64>>
    trait method
    tauri_runtime::Runtime::set_device_event_filter
    &mut Runtime, DeviceEventFilter -> ()
    Change the device event filter mode.
    trait method
    tauri_runtime::Runtime::monitor_from_point
    &Runtime, f64, f64 -> Option<Monitor>
    trait method
    tauri_runtime::Runtime::run_iteration
    &mut Runtime, F -> ()
    Runs an iteration of the runtime event loop and returns …
    trait method
    tauri_runtime::Runtime::create_webview
    &Runtime, WindowId, PendingWebview<T, Runtime> -> Result<DetachedWebview<T, Runtime>>
    Create a new webview.
    trait method
    tauri_runtime::Runtime::create_window
    &Runtime, PendingWindow<T, Runtime>, Option<F> -> Result<DetachedWindow<T, Runtime>>
    Create a new window.
    trait method
    tauri_runtime::Runtime::run
    Runtime, F -> ()
    Run the webview runtime.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.