1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-view/src/drivers/native_webview.rs
Items
const DRIVER_NAME const DEFAULT_SESSION const MAX_OBSERVATIONS const MAX_QUEUED_ACTIONS const MAX_PENDING_ACTIONS const MAX_RESULTS const MAX_EVENTS static ACTION_SEQ static EVENT_SEQ struct QueuedNativeWebviewAction struct NativeWebviewEvent struct NativeWebviewBridgeState struct NativeWebviewEnvelope struct NativeWebviewDriver impl NativeWebviewBridgeState static STATE impl ViewDriver for NativeWebviewDriver
Functions
By call-graph weight (PageRank; 1.0 is the average function). 30 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| bridge_statesrc/drivers/native_webview.rs:123 | fn | 4 | 1 | 8 | 0 | 5.5 | |
| poll_actionssrc/drivers/native_webview.rs:460 | fn | 36 | 7 | 5 | 1 | 1.8 | |
| receive_action_resultsrc/drivers/native_webview.rs:497 | fn | 86 | 5 | 4 | 3 | 1.8 | |
| queue_actionsrc/drivers/native_webview.rs:204 | fn | 18 | 1 | 5 | 3 | 1.5 | |
| session_or_defaultsrc/drivers/native_webview.rs:128 | fn | 3 | 1 | 3 | 0 | 1.4 | |
| receive_observationsrc/drivers/native_webview.rs:419 | fn | 40 | 1 | 2 | 5 | 1.3 | |
| receive_eventsrc/drivers/native_webview.rs:584 | fn | 51 | 1 | 2 | 5 | 1.3 | |
| list_eventssrc/drivers/native_webview.rs:636 | fn | 22 | 1 | 2 | 1 | 1.3 | |
| standardize_observationsrc/drivers/native_webview.rs:267 | fn | 41 | 1 | 2 | 0 | 1.1 | |
| action_with_contractsrc/drivers/native_webview.rs:143 | fn | 22 | 1 | 1 | 0 | 0.9 | |
| NativeWebviewBridgeState::trim_eventssrc/drivers/native_webview.rs:115 | method | 6 | 2 | 1 | 0 | 0.7 | |
| action_typesrc/drivers/native_webview.rs:132 | fn | 10 | 1 | 1 | 0 | 0.7 | |
| open_action_from_payloadsrc/drivers/native_webview.rs:166 | fn | 37 | 3 | 1 | 0 | 0.7 | |
| latest_observationsrc/drivers/native_webview.rs:223 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| recent_events_for_sessionsrc/drivers/native_webview.rs:228 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| observation_contractsrc/drivers/native_webview.rs:236 | fn | 30 | 1 | 1 | 0 | 0.6 | |
| NativeWebviewBridgeState::trim_observationssrc/drivers/native_webview.rs:79 | method | 8 | 2 | 0 | 0 | 0.5 | |
| NativeWebviewBridgeState::trim_actionssrc/drivers/native_webview.rs:88 | method | 8 | 2 | 0 | 0 | 0.5 | |
| NativeWebviewBridgeState::trim_pending_actionssrc/drivers/native_webview.rs:97 | method | 8 | 2 | 0 | 0 | 0.5 | |
| NativeWebviewBridgeState::trim_resultssrc/drivers/native_webview.rs:106 | method | 8 | 2 | 0 | 0 | 0.5 | |
| NativeWebviewDriver::namesrc/drivers/native_webview.rs:310 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NativeWebviewDriver::capabilitiessrc/drivers/native_webview.rs:314 | trait impl | 20 | 1 | 0 | 0 | 0.5 | |
| NativeWebviewDriver::opensrc/drivers/native_webview.rs:335 | trait impl | 21 | 1 | 0 | 2 | 0.5 | |
| NativeWebviewDriver::observesrc/drivers/native_webview.rs:357 | trait impl | 35 | 3 | 0 | 3 | 0.5 | |
| NativeWebviewDriver::actsrc/drivers/native_webview.rs:393 | trait impl | 24 | 3 | 0 | 2 | 0.5 | |
| native_webview_actions_roundtrip_through_queuesrc/drivers/native_webview.rs:664 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| native_webview_poll_requires_session_idsrc/drivers/native_webview.rs:683 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| native_webview_action_result_requires_pending_ownersrc/drivers/native_webview.rs:704 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| native_webview_action_result_accepts_pending_ownersrc/drivers/native_webview.rs:718 | fn | 25 | 1 | 0 | 3 | 0.5 | |
| native_webview_observation_contract_has_core_fieldssrc/drivers/native_webview.rs:745 | fn | 15 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.