source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " The [`wry`] Tauri [`Runtime`].\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " None of the exposed API of this crate is stable, and it may"...
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " compatibility in the future. The major version only signifi"...
inner_attribute_item (+23 nodes collapsed)
use_declaration
use "use"
scoped_identifier
scoped_identifier
self "self"
:: "::"
identifier "monitor"
:: "::"
identifier "MonitorExt"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "http"
:: "::"
identifier "Request"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "objc2"
:: "::"
identifier "ClassType"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "raw_window_handle"
:: "::"
use_list
{ "{"
identifier "DisplayHandle"
, ","
identifier "HasDisplayHandle"
, ","
identifier "HasWindowHandle"
} "}"
; ";"
use_declaration (+115 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_vendor"
= "="
string_literal
" "\""
string_content "apple"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
scoped_identifier
identifier "objc2"
:: "::"
identifier "rc"
:: "::"
identifier "Retained"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
scoped_identifier
scoped_identifier
identifier "tao"
:: "::"
identifier "platform"
:: "::"
identifier "macos"
:: "::"
use_list
{ "{"
identifier "EventLoopWindowTargetExtMacOS"
, ","
identifier "WindowBuilderExtMacOS"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "linux"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
scoped_identifier
scoped_identifier
identifier "tao"
:: "::"
identifier "platform"
:: "::"
identifier "unix"
:: "::"
use_list
{ "{"
identifier "WindowBuilderExtUnix"
, ","
identifier "WindowExtUnix"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
scoped_identifier
scoped_identifier
identifier "tao"
:: "::"
identifier "platform"
:: "::"
identifier "windows"
:: "::"
use_list
{ "{"
identifier "WindowBuilderExtWindows"
, ","
identifier "WindowExtWindows"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
identifier "webview2_com"
:: "::"
use_list
{ "{"
identifier "ContainsFullScreenElementChangedEventHandler"
, ","
identifier "FocusChangedEventHandler"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "windows"
:: "::"
identifier "Win32"
:: "::"
identifier "Foundation"
:: "::"
identifier "HWND"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "ios"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "wry"
:: "::"
identifier "WebViewBuilderExtIos"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "wry"
:: "::"
identifier "WebViewBuilderExtMacos"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "wry"
:: "::"
identifier "WebViewBuilderExtWindows"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_vendor"
= "="
string_literal
" "\""
string_content "apple"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
identifier "wry"
:: "::"
use_list
{ "{"
identifier "WebViewBuilderExtDarwin"
, ","
identifier "WebViewExtDarwin"
} "}"
; ";"
use_declaration (+130 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "desktop"
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
scoped_identifier
identifier "tauri_utils"
:: "::"
identifier "config"
:: "::"
identifier "PreventOverflowConfig"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "tauri_utils"
:: "::"
identifier "TitleBarStyle"
; ";"
use_declaration (+21 nodes collapsed)
use_declaration
use "use"
scoped_identifier
identifier "url"
:: "::"
identifier "Url"
; ";"
use_declaration (+27 nodes collapsed)
use_declaration
visibility_modifier
pub "pub"
use "use"
identifier "tao"
; ";"
use_declaration (+25 nodes collapsed)
use_declaration
visibility_modifier
pub "pub"
use "use"
identifier "wry"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_identifier
identifier "wry"
:: "::"
identifier "webview_version"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "wry"
:: "::"
identifier "WebViewExtWindows"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "android"
" "\""
) ")"
] "]"
use_declaration (+23 nodes collapsed)
attribute_item (+44 nodes collapsed)
use_declaration
use "use"
scoped_use_list
identifier "wry"
:: "::"
use_list
{ "{"
identifier "WebViewBuilderExtUnix"
, ","
identifier "WebViewExtUnix"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "ios"
" "\""
) ")"
] "]"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "tao"
:: "::"
identifier "platform"
:: "::"
identifier "ios"
:: "::"
identifier "WindowExtIOS"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration (+26 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "tauri_runtime"
:: "::"
identifier "ActivationPolicy"
; ";"
use_declaration (+105 nodes collapsed)
type_item
visibility_modifier
pub "pub"
type "type"
type_identifier "WebviewId"
= "="
primitive_type "u32"
; ";"
type_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "not"
token_tree
( "("
identifier "debug_assertions"
) ")"
) ")"
] "]"
mod_item
mod "mod"
identifier "dialog"
; ";"
mod_item
mod "mod"
identifier "monitor"
; ";"
attribute_item (+49 nodes collapsed)
mod_item
mod "mod"
identifier "undecorated_resizing"
; ";"
mod_item
mod "mod"
identifier "util"
; ";"
mod_item
mod "mod"
identifier "webview"
; ";"
mod_item
mod "mod"
identifier "window"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_identifier
identifier "webview"
:: "::"
identifier "Webview"
; ";"
use_declaration
use "use"
use_as_clause
scoped_identifier
identifier "window"
:: "::"
identifier "WindowExt"
as "as"
identifier "_"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
) ")"
] "]"
struct_item (+43 nodes collapsed)
type_item (+30 nodes collapsed)
line_comment
// "//"
type_item (+25 nodes collapsed)
type_item (+25 nodes collapsed)
type_item (+25 nodes collapsed)
type_item (+25 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
, ","
identifier "Default"
) ")"
] "]"
struct_item (+27 nodes collapsed)
impl_item (+121 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "macro_export"
] "]"
macro_definition (+67 nodes collapsed)
macro_definition (+65 nodes collapsed)
macro_definition (+61 nodes collapsed)
macro_definition (+80 nodes collapsed)
function_item (+176 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Clone"
) ")"
] "]"
struct_item (+135 nodes collapsed)
impl_item (+251 nodes collapsed)
impl_item (+677 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "tracing"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
, ","
identifier "Default"
) ")"
] "]"
struct_item (+25 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "tracing"
" "\""
) ")"
] "]"
impl_item (+68 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "tracing"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
) ")"
] "]"
enum_item (+30 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
) ")"
] "]"
struct_item (+24 nodes collapsed)
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item
unsafe "unsafe"
impl "impl"
type_identifier "Send"
for "for"
type_identifier "WindowsStore"
declaration_list
{ "{"
} "}"
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item
unsafe "unsafe"
impl "impl"
type_identifier "Sync"
for "for"
type_identifier "WindowsStore"
declaration_list
{ "{"
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item (+76 nodes collapsed)
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item (+22 nodes collapsed)
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item (+22 nodes collapsed)
impl_item (+132 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "DeviceEventFilterWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoDeviceEventFilter"
) ")"
; ";"
impl_item (+86 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "RectWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
scoped_type_identifier
identifier "wry"
:: "::"
type_identifier "Rect"
) ")"
; ";"
impl_item (+69 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Wrapper around a [`tao::window::Icon`] that can be created "...
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "TaoIcon"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoWindowIcon"
) ")"
; ";"
impl_item (+130 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "WindowEventWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "WindowEvent"
> ">"
) ")"
; ";"
impl_item (+671 nodes collapsed)
function_item (+59 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
function_item (+69 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "MonitorHandleWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "MonitorHandle"
) ")"
; ";"
impl_item (+132 nodes collapsed)
struct_item (+22 nodes collapsed)
impl_item (+75 nodes collapsed)
impl_item (+74 nodes collapsed)
struct_item
struct "struct"
type_identifier "LogicalPositionWrapper"
type_parameters
< "<"
type_parameter
type_identifier "T"
> ">"
ordered_field_declaration_list
( "("
generic_type
type_identifier "TaoLogicalPosition"
type_arguments
< "<"
type_identifier "T"
> ">"
) ")"
; ";"
impl_item (+74 nodes collapsed)
struct_item (+22 nodes collapsed)
impl_item (+75 nodes collapsed)
impl_item (+74 nodes collapsed)
struct_item
struct "struct"
type_identifier "LogicalSizeWrapper"
type_parameters
< "<"
type_parameter
type_identifier "T"
> ">"
ordered_field_declaration_list
( "("
generic_type
type_identifier "TaoLogicalSize"
type_arguments
< "<"
type_identifier "T"
> ">"
) ")"
; ";"
impl_item (+74 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "SizeWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoSize"
) ")"
; ";"
impl_item (+109 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "PositionWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoPosition"
) ")"
; ";"
impl_item (+109 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "UserAttentionTypeWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoUserAttentionType"
) ")"
; ";"
impl_item (+69 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
) ")"
] "]"
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "CursorIconWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoCursorIcon"
) ")"
; ";"
impl_item (+376 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "ProgressStateWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoProgressState"
) ")"
; ";"
impl_item (+105 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "ProgressBarStateWrapper"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "TaoProgressBarState"
) ")"
; ";"
impl_item (+86 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Clone"
, ","
identifier "Default"
) ")"
] "]"
struct_item (+53 nodes collapsed)
impl_item (+172 nodes collapsed)
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item
unsafe "unsafe"
impl "impl"
type_identifier "Send"
for "for"
type_identifier "WindowBuilderWrapper"
declaration_list
{ "{"
} "}"
impl_item
impl "impl"
type_identifier "WindowBuilderBase"
for "for"
type_identifier "WindowBuilderWrapper"
declaration_list
{ "{"
} "}"
impl_item (+3818 nodes collapsed)
attribute_item (+47 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "GtkWindow"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
scoped_type_identifier
identifier "gtk"
:: "::"
type_identifier "ApplicationWindow"
) ")"
; ";"
attribute_item (+47 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item
unsafe "unsafe"
impl "impl"
type_identifier "Send"
for "for"
type_identifier "GtkWindow"
declaration_list
{ "{"
} "}"
attribute_item (+47 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "GtkBox"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
scoped_type_identifier
identifier "gtk"
:: "::"
type_identifier "Box"
) ")"
; ";"
attribute_item (+47 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item
unsafe "unsafe"
impl "impl"
type_identifier "Send"
for "for"
type_identifier "GtkBox"
declaration_list
{ "{"
} "}"
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "SendRawWindowHandle"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
scoped_type_identifier
identifier "raw_window_handle"
:: "::"
type_identifier "RawWindowHandle"
) ")"
; ";"
impl_item
unsafe "unsafe"
impl "impl"
type_identifier "Send"
for "for"
type_identifier "SendRawWindowHandle"
declaration_list
{ "{"
} "}"
enum_item (+174 nodes collapsed)
enum_item (+880 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
enum_item (+22 nodes collapsed)
impl_item (+92 nodes collapsed)
enum_item (+533 nodes collapsed)
enum_item (+49 nodes collapsed)
type_item (+47 nodes collapsed)
type_item (+34 nodes collapsed)
struct_item (+30 nodes collapsed)
enum_item (+202 nodes collapsed)
impl_item (+81 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Tauri [`WebviewDispatch`] for [`Wry`].\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item (+46 nodes collapsed)
impl_item (+2694 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Tauri [`WindowDispatch`] for [`Wry`].\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item (+31 nodes collapsed)
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item (+22 nodes collapsed)
function_item (+63 nodes collapsed)
impl_item (+4761 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Clone"
) ")"
] "]"
struct_item (+70 nodes collapsed)
impl_item (+49 nodes collapsed)
impl_item (+153 nodes collapsed)
struct_item (+153 nodes collapsed)
impl_item (+30 nodes collapsed)
impl_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item (+28 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "ios"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item (+22 nodes collapsed)
impl_item (+88 nodes collapsed)
trait_item (+52 nodes collapsed)
trait_item (+110 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A Tauri [`Runtime`] wrapper around wry.\n"
struct_item (+41 nodes collapsed)
impl_item (+165 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A handle to the Wry runtime.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item (+26 nodes collapsed)
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "clippy"
:: "::"
identifier "non_send_fields_in_send_ty"
) ")"
] "]"
impl_item (+22 nodes collapsed)
impl_item (+430 nodes collapsed)
impl_item (+1540 nodes collapsed)
impl_item (+514 nodes collapsed)
impl_item (+2457 nodes collapsed)
function_item (+466 nodes collapsed)
struct_item (+95 nodes collapsed)
struct_item (+21 nodes collapsed)
function_item (+8892 nodes collapsed)
function_item (+2174 nodes collapsed)
function_item (+307 nodes collapsed)
function_item (+90 nodes collapsed)
function_item (+215 nodes collapsed)
function_item (+1956 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " the kind of the webview\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "PartialOrd"
, ","
identifier "Ord"
, ","
identifier "Clone"
, ","
identifier "Copy"
) ")"
] "]"
enum_item
enum "enum"
type_identifier "WebviewKind"
enum_variant_list
{ "{"
line_comment
// "//"
enum_variant
identifier "WindowContent"
, ","
line_comment
// "//"
enum_variant
identifier "WindowChild"
, ","
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
) ")"
] "]"
struct_item (+26 nodes collapsed)
function_item
fn "fn"
identifier "create_webview"
type_parameters
< "<"
type_parameter
type_identifier "T"
trait_bounds
: ":"
type_identifier "UserEvent"
> ">"
parameters (+94 nodes collapsed)
-> "->"
generic_type
type_identifier "Result"
type_arguments
< "<"
type_identifier "WebviewWrapper"
> ">"
block
{ "{"
expression_statement (+58 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "unused_mut"
) ")"
] "]"
let_declaration (+26 nodes collapsed)
let_declaration (+31 nodes collapsed)
let_declaration
let "let"
identifier "is_first_context"
= "="
call_expression
field_expression
identifier "web_context"
. "."
field_identifier "is_empty"
arguments
( "("
) ")"
; ";"
line_comment
// "//"
let_declaration (+38 nodes collapsed)
let_declaration
let "let"
identifier "web_context_key"
= "="
field_expression
identifier "webview_attributes"
. "."
field_identifier "data_directory"
; ";"
let_declaration (+21 nodes collapsed)
let_declaration (+166 nodes collapsed)
let_declaration (+97 nodes collapsed)
expression_statement (+29 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
expression_statement (+32 nodes collapsed)
attribute_item (+26 nodes collapsed)
expression_statement (+21 nodes collapsed)
expression_statement (+106 nodes collapsed)
expression_statement (+23 nodes collapsed)
expression_statement (+39 nodes collapsed)
expression_statement (+356 nodes collapsed)
expression_statement (+77 nodes collapsed)
expression_statement (+616 nodes collapsed)
expression_statement (+30 nodes collapsed)
let_declaration (+364 nodes collapsed)
expression_statement (+176 nodes collapsed)
expression_statement (+126 nodes collapsed)
expression_statement (+34 nodes collapsed)
expression_statement (+47 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
expression_statement
block
{ "{"
expression_statement (+34 nodes collapsed)
expression_statement (+32 nodes collapsed)
expression_statement (+68 nodes collapsed)
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
expression_statement (+21 nodes collapsed)
attribute_item (+49 nodes collapsed)
expression_statement (+38 nodes collapsed)
attribute_item (+47 nodes collapsed)
expression_statement (+36 nodes collapsed)
attribute_item (+26 nodes collapsed)
expression_statement (+57 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "ios"
" "\""
) ")"
] "]"
expression_statement (+50 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
expression_statement (+40 nodes collapsed)
expression_statement (+51 nodes collapsed)
expression_statement (+34 nodes collapsed)
expression_statement (+176 nodes collapsed)
attribute_item (+21 nodes collapsed)
expression_statement (+30 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "android"
" "\""
) ")"
] "]"
expression_statement (+84 nodes collapsed)
let_declaration (+334 nodes collapsed)
expression_statement (+136 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "windows"
) ")"
] "]"
expression_statement (+738 nodes collapsed)
call_expression (+97 nodes collapsed)
} "}"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Create a wry ipc handler from a tauri ipc handler.\n"
function_item (+183 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
function_item (+199 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "not"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "unused_variables"
) ")"
] "]"
function_item (+46 nodes collapsed)
function_item (+80 nodes collapsed)