Skip to main content

Crate spatialrust_web

Crate spatialrust_web 

Source
Expand description

Portable Web viewer state, bounded remote ranges, and an optional WebGPU bridge.

Structs§

BrowserRangeAbort
Browser-visible cooperative cancellation backed by AbortController.
BrowserViewer
WASM-facing portable viewer and bounded remote-range cache.
ByteRange
Half-open remote byte range.
RangeAdmissionReceipt
Result of admitting one fetched response to the cache.
RangeBudget
Hard limits for one remote planning/cache session.
RangeCache
Exact-range response cache with deterministic LRU eviction.
RangePlan
Deterministic cache-hit/fetch/denial decision.
RangePlanner
Stateful deterministic range planner.
WebGpuFrame
One WebGPU/device-resident frame tied to a portable state revision.
WebGpuViewer
Web-compatible bridge from portable viewer state to the shared wgpu backend.
WebViewerState
Versioned viewer state shared by native Rust, WASM, Python, and notebooks.

Enums§

BrowserInput
JSON-friendly browser interaction event.
WebError
Portable Web state, range, or rendering error.

Constants§

WEB_VIEWER_STATE_VERSION
Current portable Web viewer envelope version.

Functions§

bounded_fetch_range
Executes one strictly bounded browser HTTP Range fetch.

Type Aliases§

WebResult
Web adapter result.