Expand description
euv-core
Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic Flexbox/Grid layout, flat retained scene graph, multi-mode rendering (Auto, Software, Hardware, Hybrid), unified window abstractions, and direct OS API backends for Web, Android, iOS, iPadOS, macOS, Windows, and Linux.
Structs§
- A11y
Announcement - Live accessibility announcement queued for VoiceOver, TalkBack, Narrator, Orca, or ARIA live regions.
- A11y
Node - Compiled snapshot node in the cross-platform
A11yTree. - A11y
Props - Declarative accessibility metadata attached to any retained
SceneNode. - A11y
Tree - Compiled semantic accessibility tree bridging
SceneTreeto OS screen readers. - Aabb3D
- Axis-aligned 3D bounding box used for frustum culling, chunk streaming, and BVH acceleration.
- Action
Map - Declarative multi-key and pointer-button binding table mapping physical inputs to
GameActions. - Animation
Clip3D - Reusable skeletal/transform animation clip with duration and looping control.
- App
- Unified cross-platform application runtime orchestrating platform events, reactivity, layout, and rendering.
- AppConfig
- Top-level cross-platform application configuration.
- Audio
Bus - Cross-platform deterministic game audio mixer queue (bridged to WebAudio / CoreAudio / AAudio / WASAPI).
- Audio
Command - Individual spatialized audio playback command queued by game scenes.
- Audio
Listener3D - 3D spatial audio listener pose derived from a
Camera3Dor player avatar. - Audio
Track - Seekable digital audio track with PCM samples, precomputed waveform peaks, and transport state.
- Available
Space - Available layout space passed down during a layout pass and cached for clean-subtree skipping.
- Border
- Box border stroke specification.
- BoxMesh
Desc - Ergonomic descriptor for constructing an axis-aligned box
Mesh3D. - Bvh3D
- Flat-array Bounding Volume Hierarchy accelerating ray-traced shadows, reflections, and GI in O(log N).
- BvhNode3D
- Cache-friendly flat BVH tree node (interior node or leaf triangle range).
- BvhTriangle
- World-space triangle stored in the flat BVH leaf array for ray-traced shadows, reflections, and GI.
- Camera2D
- 2D game camera supporting world-to-screen projection, zoom, smooth target follow, frustum culling, and trauma screen shake.
- Camera3D
- 3D perspective camera supporting free-fly, third-person follow, yaw/pitch orbit, and frustum culling.
- Collider2D
- Collision volume and bitmask filtering component.
- Collision
Event - Contact event reported when two colliders overlap or collide during a physics step.
- Color
- Compact 32-bit sRGB color with 8-bit red, green, blue, and alpha channels.
- Context
- Ambient framework-managed UI context binding the active
SceneHandle, responsive signals, and platform metadata. - Context
Guard - RAII scope guard restoring the previous ambient
Contexton drop. - Corner
Radius - Per-corner border radius specification in logical pixels.
- Damage
Region - Dirty bounding region tracking damaged screen areas between frames.
- Deep
Link Event - Parsed incoming custom-scheme or universal deep link event.
- Deterministic
Text Measurer - Deterministic zero-dependency text measurer guaranteeing identical wrapping across all 7 platforms.
- Directional
Light3D - Primary sun/moon directional light and atmospheric sky parameters.
- Dirty
Flags - Compact 16-bit surgical dirty flag mask enabling O(1) clean-subtree skipping.
- Display
Info - Physical monitor or mobile screen metadata.
- Display
List - Reusable backend-agnostic command buffer emitted once per frame for Software, Hardware, or Hybrid execution.
- Dynamic
Action Event - Interactive event emitted when a user activates a button inside a dynamically updated component or page.
- Dynamic
Component Slot - Declarative
Componentslot supporting surgical component-level dynamic updates and rollbacks. - Dynamic
Component Update - Versioned, checksum-verified component-level dynamic update payload.
- Dynamic
Node Spec - Serializable declarative UI node tree compiled directly into native
SceneTreenodes at runtime. - Dynamic
Page Outlet - Reactive route-driven page outlet seamlessly rendering compiled routes, hot-updated pages, and runtime-injected routes.
- Dynamic
Page Slot - Declarative
Componentslot supporting surgical page-level dynamic updates for a single route. - Dynamic
Page Update - Versioned, checksum-verified page-level dynamic update payload (overrides or injects a route).
- Dynamic
Style Spec - Serializable style overrides attached to a
DynamicNodeSpec. - Dynamic
Telemetry - Cumulative runtime telemetry counters exposed reactively by
DynamicUpdateHub. - Dynamic
Update Bundle - Atomic multi-target update manifest delivering component-level and page-level updates together.
- Dynamic
Update Hub - Shared cross-platform hub orchestrating surgical component-level and page-level dynamic updates.
- Edges
- Four-sided edge dimensions for margin, padding, and safe-area insets.
- Effect
- Handle to a reactive side effect automatically re-run when tracked dependencies change.
- Effect
Id - Unique identifier for a reactive effect slot.
- Entity
Id - Generation-checked O(1) handle referencing an entity inside
GameWorld. - Entity
Record - Complete entity record stored in the contiguous
GameWorldarena. - Entity
Transform - 2D spatial transform component in world coordinates.
- Event
Bus - Scope-aware typed cross-component custom event bus supporting automatic cleanup on unmount and freeze/resume coalescing.
- Event
Handlers - Attached event listener slots on a
SceneNode. - Focus
Manager - Tracks active focus, hover, and pointer-press targets across the retained scene graph.
- Frame
Clock - Fixed-timestep accumulator and variable-rate frame telemetry clock for real-time game loops.
- Frame
Render Params - Fluent per-frame parameter bundle for
Renderer::render_with. - Frame
Stats - Per-frame performance and rendering telemetry snapshot.
- Framebuffer
- Contiguous RGBA8 pixel framebuffer handed directly to OS surfaces or GPU upload paths.
- Frustum3D
- Six-plane view frustum extracted from a view-projection matrix for O(1) AABB culling.
- Game
Engine Host - Shared host coordinating a
GameScene, fixed-timestepFrameClock, andInputStateinsideeuv. - Game
Render Context - Viewport-local immediate-mode 2D/framebuffer drawing surface passed to
GameScene::render. - Game
World - High-performance generational ECS arena managing game entities with O(1) spawn, despawn, and cache-friendly iteration.
- Gesture
Event - Real-time cross-platform gesture payload emitted reactively through
Context::get_gesture(). - GifAnimation
- Decoded multi-frame animated GIF player model supporting looping and frame-accurate stepping.
- Global
State - App-wide reactive global state registry supporting type-keyed and named singleton stores plus scope-aware
watchobservers. - Glyph
Atlas - Memoized glyph rasterization cache shared across frames to avoid redundant glyph work.
- Glyph
Key - Cache key uniquely identifying a rasterized glyph bitmap.
- GpuAdapter
Info - Probed physical GPU adapter and native shader compilation telemetry.
- GpuBatch
- Coalesced instanced GPU draw batch submitted as a single hardware draw call.
- GpuQuad
Instance - Tightly packed GPU instance payload uploaded directly to Metal, Vulkan, D3D12, WebGPU, or WebGL2 buffers.
- Ground
Plane Desc - Ergonomic descriptor for constructing a subdivided ground plane
Mesh3D. - Hardware
Renderer - Hardware GPU renderer compiling
DisplayListstreams into coalesced instancedGpuBatchcalls. - Headless
Platform - Deterministic offscreen platform backend available on all targets for CI and pixel-parity testing.
- Headless
Window Record - Simulated window record held by
HeadlessPlatform. - Html
Block - Single sanitized block node parsed from an HTML document.
- Html
Document - Sanitized native HTML document compiled into renderable
HtmlBlockitems without JS or WebView. - Http
Wasm Fetcher - Native pure-std HTTP (
http://) and local filesystem (file://) WASM fetcher with timeout and progress streaming. - Hybrid
Renderer - Hybrid renderer combining CPU dirty-tile rasterization with GPU textured quad compositing.
- Image
Asset - Decoded static image asset carrying format, alt text, metadata, and RGBA8 pixel buffer.
- Image
Buffer - Decoded RGBA8 image buffer rendered uniformly by software and hardware backends.
- Import
Model Desc - Fluent descriptor for importing a 3D
.objor.gltfmodel intoWorld3D. - Imported
Model3D - Result returned by
ModelImporter3Dcontaining imported mesh LOD chains and telemetry. - Input
Node State - Interactive text input state stored on
NodeKind::Input. - Input
State - Real-time polled keyboard, pointer, and scroll input state for games and interactive viewports.
- Interaction
State - Interactive visual state flags on a scene node.
- Joint
Track3D - Per-joint keyframe track animating one joint index over time.
- KeyEvent
- Unified keyboard event payload.
- Keyframe3D
- Single timestamped 3D transform keyframe inside an
AnimationClip3D. - Layout
Box - Computed layout geometry cached on every scene node.
- Layout
Engine - Deterministic cross-platform Flexbox, Grid, Block, and Positioned layout engine.
- Layout
Stats - Telemetry counters recorded per layout pass.
- Layout
Style - Layout-affecting properties separated from paint properties for surgical dirty-flag tracking.
- Linear
Gradient - Two-stop linear gradient specification.
- Linux
Platform - Direct Linux X11 / Wayland (
dlopen-loaded) + Vulkan platform backend. - Linux
Window Record - Native Linux X11 / Wayland window record.
- Live
Activity Content - Declarative content payload for iOS Dynamic Island, Live Activities, and cross-platform live status pills.
- Live
Activity Handle - Active handle tracking a running Dynamic Island / Live Activity session.
- Live
Photo Asset - Apple/Android-style LIVE Photo pairing a still photograph with a short motion burst and audio waveform.
- Local
State - Scoped reactive local component state automatically disposed on unmount and frozen/resumed with its owning
Scope. - Mat4
- Column-major 4x4 transformation and perspective projection matrix.
- Media
Codec Registry - Stateless cross-platform media codec registry providing magic-byte detection and native pure-Rust decoders.
- Media
Frame - Single timed RGBA8 frame belonging to an animated GIF, LIVE Photo, or Video track.
- Media
Metadata - Normalized inspection metadata common across all media assets.
- Media
Source - Unified descriptor pointing to a local, remote, or in-memory media resource.
- Memo
- Zero-overhead
Copyhandle to a lazy, glitch-free memoized reactive computation. - MemoId
- Unique identifier for a reactive memo slot.
- Mesh3D
- Indexed triangle mesh with local AABB, Nanite-style meshlet clusters, and default PBR material.
- Mesh
LodChain - Multi-level Level-of-Detail (LOD) mesh chain (
LOD0full detail throughLOD2distant proxy). - Meshlet3D
- Nanite-style virtualized geometry cluster storing tight bounds, normal cone, and triangle slice.
- Model
Importer3D - Stateless 3D model importer supporting Wavefront
.objand glTF 2.0.gltfJSON assets. - Modifiers
- Keyboard modifier key states.
- Native
GpuDriver - Physical OS GPU driver wrapping Metal, D3D12, Vulkan, or WebGL2 with automatic recording fallback.
- Native
System Font - Cross-platform native system font provider backed by direct OS font APIs.
- NodeId
- Generation-checked handle to a node inside the flat
SceneTreearena. - Node
Transition - Paint-only opacity and 2D transform transition animated per frame without re-running layout.
- Packed
Glyph Atlas - Shelf-packed alpha8/RGBA8 glyph texture atlas ready for GPU texture upload.
- Paint
Pass - Stateless scene-to-display-list compiler supporting z-order sorting, scroll clipping, and frustum culling.
- Paint
Style - Paint-only visual properties decoupled from layout calculation.
- Particle
- Individual pooled particle simulated without heap allocations.
- Particle
Emitter Config - Declarative burst/stream emitter configuration for
ParticleSystem. - Particle
System - Zero-allocation fixed-capacity 2D particle simulation engine.
- PbrMaterial
- Physically based metallic-roughness material parameters for 3D surfaces.
- PdfDocument
- Parsed multi-page PDF document with page navigation and zoom state.
- PdfPage
- Single parsed page of a Portable Document Format (
PDF) document. - Permission
Descriptor - Resolved platform-specific permission metadata and current authorization status.
- Permission
Manager - Cross-platform system permission manager tracking OS authorization state and privacy rationales.
- Physics
Config - Global 2D rigid-body physics configuration.
- Physics
Step Stats - Telemetry counters produced by a single
PhysicsWorld2D::stepinvocation. - Physics
World2D - Reusable O(N) spatial-hash broad-phase accelerator and 2D impulse physics solver.
- Physics
World3D - Deterministic 3D rigid-body physics world with gravity, ground plane, impulse resolution, and raycasting.
- Pixel
Band - Zero-copy borrowed horizontal row band of a
Framebufferenabling safe multi-threaded parallel rasterization. - Platform
Capabilities - Normalized hardware and OS capability flags reported by every platform backend.
- Platform
Service Hub - Unified per-app hub coordinating permissions, protocols, Dynamic Island / Live Activities, haptics, tray, and A11y announcements.
- Point
- 2D point in logical pixels.
- Pointer
Event - Unified pointer event normalizing mouse, touch, and stylus/Apple Pencil input.
- Protocol
Manifest Entry - Platform-specific manifest or OS registration artifact produced for a
ProtocolRegistration. - Protocol
Registration - Declarative custom URL protocol registration and universal/app link specification.
- Protocol
Registry - Cross-platform registry managing custom URI protocol handlers and incoming deep links.
- Rasterized
Glyph - Rasterized alpha-coverage glyph bitmap ready for software blitting or GPU atlas upload.
- Ray3D
- 3D ray with origin, normalized direction, and precomputed reciprocal direction for fast BVH traversal.
- RayHit3D
- Closest ray-triangle hit result returned by
Bvh3D::trace_closest. - RayHit
Physics3D - Result of a 3D physics raycast against
PhysicsWorld3Drigid bodies. - Raycast
Hit - Result of a 2D physics raycast intersection query.
- Raycast
Query2D - Fluent query descriptor for 2D physics raycasting against
PhysicsWorld2D. - Reactive
Runtime - Thread-local arena storing all reactive signals, memos, effects, and scopes.
- Reactive
Stats - Snapshot of runtime diagnostic statistics for telemetry and benchmarking.
- Recording
GpuDriver - Recording GPU driver used on headless targets and as a hardware-contract validator.
- Rect
- Axis-aligned rectangle in logical pixels.
- Registry
Wasm Fetcher - Cross-platform in-memory WASM CDN registry and deterministic fault-injection fetcher.
- Registry
Wasm Record - Registered entry inside
RegistryWasmFetcherfor deterministic cross-platform CDN and fault simulation. - Render
Config - Complete rendering pipeline configuration shared across all 7 platforms.
- Render
Quality Config - Complete runtime-adjustable AAA 3D rendering, resolution, LOD, streaming, and ray-tracing configuration.
- Render
Stats3D - Per-frame telemetry emitted by
Renderer3Dfor live FPS/RT/LOD/Nanite/culling diagnostics. - Renderer
- Unified multi-mode rendering facade orchestrating Auto, Software, Hardware, and Hybrid execution.
- Renderer3D
- Zero-allocation UE5-class Deferred GGX PBR + Persistent Multi-Core SAH BVH + Lumen GI + Bloom + Morphological AA/TAA 3D renderer.
- Responsive
Style - Responsive style bundle resolving deterministically for compact, medium, and expanded viewports.
- Rigid
Body2D - Rigid-body dynamics parameters for 2D physics simulation.
- Rigid
Body3D - Dynamic or static 3D rigid body with axis-aligned box collider and physical restitution/friction.
- Router
- Cross-platform reactive navigation router with history stack shared across Web, Mobile, Tablet, and Desktop.
- Safe
Area Insets - Safe-area insets in logical pixels (iOS notch/Dynamic Island, iPadOS Stage Manager, Android cutouts, Web immersive).
- Scene
Handle - Shared handle wrapping a
SceneTreeso reactiveEffectclosures can patch nodes directly. - Scene
Node - Retained scene node stored contiguously inside
SceneTree. - Scene
Object3D - Instanced 3D scene object placed inside an open-world chunk.
- Scene
Tree - Flat generation-indexed arena holding the entire retained UI scene graph.
- Scope
- Deterministic ownership scope managing the lifetime of reactive primitives and cleanups.
- ScopeId
- Unique identifier for a reactive ownership scope.
- Selector
- O(1) keyed reactive selector notifying only the previously selected and newly selected keys.
- Shadow
- Box drop-shadow specification.
- Share
Payload - Cross-platform native OS share sheet payload (
UIActivityViewController,NSSharingServicePicker, AndroidIntent, Web Share). - Signal
- Zero-overhead
Copyhandle to a fine-grained reactive signal stored in the arena. - Signal
Id - Unique identifier for a reactive signal slot.
- Size
- 2D size in logical pixels.
- Skeleton
Joint3D - Named bone joint inside a hierarchical
SkeletonRig3D. - Skeleton
Rig3D - Hierarchical 3D skeletal rig evaluating forward kinematics across bone chains.
- SlotId
- Generation-checked slot identifier inside the reactive arena.
- Software
Renderer - High-performance CPU tile and analytical-SDF software rasterizer with zero GPU dependencies.
- Spatial
Audio Source3D - 3D world-space sound emitter with distance rolloff and Doppler velocity.
- Spawn
Object Desc - Fluent descriptor for spawning a
SceneObject3DintoWorld3D. - Sprite2D
- Visual appearance component rendered by
GameRenderContext::render_world. - Sprite
Animator - Frame-rate-driven sprite animation clip state.
- Sprite
Sheet - Sprite sheet slicing descriptor over an RGBA8
ImageBuffer. - Storage
Store - Cross-platform key-value local storage abstraction synchronized across native and web hosts.
- Style
- Complete compiled style value combining layout, paint, and typography with zero heap allocations.
- SvgDocument
- Parsed and natively rasterized SVG vector document.
- System
Font Info - Metadata describing the active native or deterministic font rasterization provider.
- System
Notification - Cross-platform native system notification payload.
- System
Tray Config - Desktop system tray / macOS menu bar icon configuration.
- Text
Layout Result - Complete text measurement result used identically by layout and rendering passes.
- Text
Line - Single laid-out text line with its measured pixel width.
- Text
Style - Typography properties controlling deterministic text layout and glyph rendering.
- TileMap
- Grid-based 2D tilemap supporting O(visible) frustum-culled rendering and tile solidity queries.
- Tile
Palette Entry - Visual and physical definition for a single tile ID inside a
TileMap. - Transform2D
- 2D visual transform applied during painting without re-running layout.
- Transform3D
- 3D world-space transform (translation, yaw/pitch/roll Euler rotation, and non-uniform scale).
- UiEvent
- Dispatched UI event envelope carrying target node and event payload.
- Vec3
- Three-dimensional floating-point vector for 3D positions, directions, normals, and RGB radiance.
- Velocity2D
- Linear and angular velocity component in world units per second.
- Vertex3D
- Single 3D mesh vertex storing local position and unit surface normal.
- Video
Track - Seekable cross-platform video playback track with poster frame, timed frames, volume, speed, and captions.
- Wasm
Cached Entry - Verified
.wasmbinary cached locally for instant reload and offline fallback. - Wasm
Data Segment - Parsed WebAssembly active linear memory data segment.
- Wasm
Download Request - Declarative request descriptor for downloading and executing a dynamic
.wasmmodule. - Wasm
Dynamic Manager - Shared cross-platform manager orchestrating partial and global dynamic
.wasmdownload, verification, execution, and native rendering. - Wasm
Dynamic Telemetry - Cumulative reactive telemetry counters for dynamic WASM loading, caching, sandboxing, and rollbacks.
- Wasm
Execution Output - Output produced by executing an exported function inside the WASM sandbox.
- Wasm
Fetched Payload - Raw downloaded
.wasmpayload returned by aWasmFetcherimplementation. - Wasm
Func Signature - Parsed WebAssembly function signature
(param_count, result_count). - Wasm
Import Entry - Parsed WebAssembly host import declaration.
- Wasm
Module Builder - Spec-compliant
.wasmbinary encoder producing genuine executable WebAssembly modules for euv native rendering. - Wasm
Mounted Snapshot - Verified mounted WASM revision snapshot stored on a partial slot or global rollback stack.
- Wasm
Parsed Function - Parsed WebAssembly function body ready for sandbox interpretation.
- Wasm
Parsed Module - Validated in-memory representation of a decoded
.wasmbinary module. - Wasm
Sandbox Config - Sandbox safety, memory, fuel, timeout, retry, and caching configuration for dynamic WASM execution.
- Window
Command Queue - Thread-local command queue allowing UI handlers to issue window mutations safely.
- Window
Config - Unified declarative window creation settings normalized across desktop, mobile, tablet, and web.
- Window
Id - Unique handle identifying an OS or web window managed by a platform backend.
- Window
State - Live runtime metrics and state of an active window.
- World3D
- Complete open-world 3D scene graph with mesh instancing library, chunk streaming, and BVH acceleration.
Enums§
- A11y
Action - Semantic assistive-technology action invoked by VoiceOver, TalkBack, UIA, AT-SPI2, or ARIA.
- A11y
Live Region - Screen reader live announcement politeness level.
- A11y
Role - Cross-platform semantic accessibility role mapped to native OS screen readers and ARIA.
- Align
Items - Cross-axis alignment inside a flex or grid container.
- Align
Self - Per-item cross-axis alignment override.
- Anti
Aliasing Mode - Post-processing anti-aliasing mode.
- Antialiasing
Mode - Anti-aliasing quality policy for shapes, borders, and rounded corners.
- Audio
Codec - Digital audio container/codec format.
- Biometric
Kind - Hardware biometric authentication provider exposed by the active platform.
- Body
Kind - Dynamics classification for a 2D physics body inside
GameWorld. - Breakpoint
- Responsive layout breakpoint class unified across all 7 platforms.
- Camera
Mode3D - Supported physically based 3D camera controller modes for
World3D. - Collider
Shape - Collision volume shape attached to a game entity.
- Color
Space - Output framebuffer color gamut.
- Cursor
Icon - Cursor icon hint unified across desktop and iPadOS pointer platforms.
- Dependency
Id - Source dependency handle recorded by an active observer.
- Device
Form Factor - Physical device form factor used for adaptive layout and input affordances.
- Display
- Box display mode determining how a node lays out its children.
- Draw
Command - Backend-agnostic vector/UI drawing primitive emitted by
PaintPassand consumed by all renderers. - Dynamic
Node Kind - Serializable native UI node primitive used in component-level and page-level dynamic updates.
- Dynamic
Update Error - Validation and runtime errors returned by
DynamicUpdateHuboperations. - Dynamic
Update Scope - Granularity scope of a dynamic update operation.
- Easing
- Mathematical easing curves applied to retained scene node transitions.
- Entity
Tag - Semantic gameplay tag used for fast collision filtering and query grouping.
- Entity
Visual Shape - Visual primitive rendered for an entity when no sprite-sheet buffer is attached.
- Flex
Direction - Main-axis direction for flex containers.
- Flex
Wrap - Line wrapping behavior for flex containers.
- Font
Family - Font family semantic category.
- Font
Render Backend - Native OS font rasterization backend active at runtime.
- Font
Weight - Font weight classification consistent across native and web renderers.
- Fullscreen
Mode - Cross-platform fullscreen presentation mode.
- Game
Action - High-level semantic gameplay actions mapped to keyboard and pointer bindings via
ActionMap. - Gesture
Event Kind - Cross-platform high-level pointer/touch gesture classification emitted by
App. - GpuPrimitive
Kind - Primitive kind discriminant encoded inside each
GpuQuadInstance. - Graphics
Backend - Concrete low-level graphics backend driving frame presentation.
- Haptic
Style - Tactile haptic feedback waveform normalized across iOS, iPadOS, Android, macOS, and Web.
- Html
Node Kind - Semantic block type emitted by the native sanitized HTML parser.
- Image
Format - Encoded image container format identified by magic bytes or file extension.
- ImeEvent
- Input Method Editor (IME) composition event for CJK and mobile virtual keyboards.
- Island
Presentation Mode - Active presentation surface for iOS Dynamic Island / Live Activities and cross-platform fallbacks.
- Justify
Content - Main-axis alignment inside a flex or grid container.
- KeyCode
- Unified physical/logical key code covering desktop, iPadOS hardware keyboard, Android, and Web.
- Length
- CSS-compatible deterministic layout length unit.
- Lifecycle
Event - Mobile / desktop application lifecycle state transitions.
- Lifecycle
Phase - Lifecycle phase of a mounted
Componentor routed page managed by the framework. - Media
Fit - Box-fitting behavior controlling how visual media scales inside its viewport.
- Media
Kind - High-level semantic category covering every supported cross-platform media format.
- Model
Format - Supported 3D model interchange formats parsed natively by
ModelImporter3D. - Node
Kind - Semantic kind of a node in the cross-platform retained scene graph.
- Node
State - Propagation state for glitch-free push-pull memo evaluation.
- Orientation
Lock - Mobile and tablet screen orientation constraint.
- Overflow
- Overflow clipping and scrolling behavior.
- Page
Retention - Retention policy controlling how a routed page behaves when the user navigates away.
- Permission
Status - Normalized authorization state returned across iOS, iPadOS, macOS, Android, Windows, Linux, and Web.
- Platform
Error - Unified error type returned by cross-platform OS window and rendering operations.
- Platform
Kind - All supported execution targets across Web, Mobile, Tablet, Desktop, and Headless.
- Playback
State - Transport playback state shared across GIF, LIVE Photo, Video, and Audio players.
- Pointer
Button - Mouse / stylus button identity.
- Pointer
Device - Source pointer device class unified across desktop, tablet, mobile, and web.
- Pointer
Events - Pointer hit-testing participation policy.
- Position
- Positioning strategy relative to parent or viewport.
- Present
Mode - Swapchain presentation synchronization mode.
- Quality
Preset - Master AAA graphics quality tier adjustable live at runtime.
- RawWindow
Handle - Zero-dependency ABI-stable native OS window handle for GPU surface creation.
- RayTracing
Mode - Hardware/BVH ray-tracing pipeline mode adjustable live at runtime.
- Render
Mode - Top-level rendering strategy selectable at startup or dynamically at runtime.
- Resolution
Preset - Target rendering resolution preset coupled with dynamic resolution scaling.
- Sound
Cue - Built-in and custom sound cue categories dispatched by
AudioBus. - Status
BarStyle - Mobile / iPadOS system status bar appearance style.
- Subscriber
Id - Subscriber handle stored on reactive signal and memo dependency lists.
- Surface
Detail Mode - Optional procedural micro-detail shading mode attached to a
PbrMaterial. - System
Permission - Unified cross-platform operating system privacy and capability permission categories.
- Text
Align - Horizontal text alignment within its layout box.
- Text
Overflow - Text overflow handling when a line exceeds available width.
- Theme
Mode - Color appearance mode synchronized across OS and application themes.
- UiEvent
Kind - Unified UI interaction event dispatched identically across all 7 platforms.
- Upscaler
Mode - Spatial or temporal upscaling mode for maintaining high FPS at 4K output.
- Video
Codec - Video codec or frame transport format.
- Wasm
Dynamic Error - Comprehensive typed error taxonomy covering all network, integrity, ABI, and sandbox failure cases.
- Wasm
Dynamic Scope - Target execution scope for a dynamically downloaded
.wasmmodule. - Wasm
Fault Kind - Deterministic fault injection scenarios for verifying every production failure path end-to-end.
- Wasm
Load State - Typed lifecycle state for a dynamic WASM download, verification, execution, and mount operation.
- Window
Command - Cross-platform imperative window command queued for execution by the platform backend.
- Window
Event - Complete unified platform window event dispatched to the application loop.
Constants§
- BITMAP_
GLYPH_ HEIGHT - Native bitmap glyph height in source texels.
- BITMAP_
GLYPH_ WIDTH - Native bitmap glyph width in source texels.
- COLLISION_
LAYER_ ALL - Default collision layer bitmask matching all layers.
- COLLISION_
LAYER_ ENEMY - Collision layer bit for enemy entities.
- COLLISION_
LAYER_ PICKUP - Collision layer bit for collectible pickups.
- COLLISION_
LAYER_ PLAYER - Collision layer bit for player entities.
- COLLISION_
LAYER_ PROJECTILE - Collision layer bit for projectiles.
- COLLISION_
LAYER_ WORLD - Collision layer bit for static arena obstacles and walls.
- COLLISION_
MASK_ PLAYER_ DEFAULT - Combined collision mask for player interactions with enemies, obstacles, and pickups.
- COLOR_
BLACK - Opaque pure black RGBA color.
- COLOR_
TRANSPARENT - Fully transparent RGBA color.
- COLOR_
WHITE - Opaque pure white RGBA color.
- DEFAULT_
MAX_ FPS - Default frame-rate cap in frames per second.
- DEFAULT_
REFRESH_ RATE_ HZ - Default display refresh rate in hertz when OS reports unknown.
- DEFAULT_
ROUTE_ PATH - Default initial application route path.
- DEFAULT_
SPATIAL_ CELL_ SIZE - Default spatial-hash cell edge size in world units.
- DEFAULT_
TILE_ SIZE - Default tile edge length in pixels for CPU dirty-rect tile rasterization.
- DEFAULT_
WINDOW_ HEIGHT - Default logical window height in pixels.
- DEFAULT_
WINDOW_ TITLE - Default window title string.
- DEFAULT_
WINDOW_ WIDTH - Default logical window width in pixels.
- DIRTY_
ALL - All dirty flags combined for freshly mounted nodes.
- DIRTY_
CHILDREN - Children list mutated.
- DIRTY_
LAYOUT - Layout geometry needs recomputation for this node.
- DIRTY_
NONE - Empty dirty bitmask.
- DIRTY_
PAINT - Visual paint commands need rebuilding for this node.
- DIRTY_
SCROLL - Scroll offset mutated.
- DIRTY_
SUBTREE_ LAYOUT - A descendant requires layout recomputation.
- DIRTY_
SUBTREE_ PAINT - A descendant requires repainting.
- DIRTY_
TEXT - Text measurement and shaping need recomputation.
- DYNAMIC_
BADGE_ BG_ HEX - Default badge background color for dynamically rendered SDUI badges.
- DYNAMIC_
BADGE_ FG_ HEX - Default badge foreground color for dynamically rendered SDUI badges.
- DYNAMIC_
BUTTON_ BG_ HEX - Default primary button background color for dynamically rendered SDUI buttons.
- DYNAMIC_
BUTTON_ FG_ HEX - Default primary button foreground color for dynamically rendered SDUI buttons.
- DYNAMIC_
CARD_ BG_ HEX - Default card background color for dynamically rendered SDUI cards.
- DYNAMIC_
CARD_ BORDER_ HEX - Default card border color for dynamically rendered SDUI cards.
- DYNAMIC_
DEFAULT_ BADGE_ RADIUS - Default badge corner radius in logical pixels.
- DYNAMIC_
DEFAULT_ BUTTON_ HEIGHT - Default button height in logical pixels.
- DYNAMIC_
DEFAULT_ BUTTON_ RADIUS - Default button corner radius in logical pixels.
- DYNAMIC_
DEFAULT_ CARD_ GAP - Default card gap in logical pixels.
- DYNAMIC_
DEFAULT_ CARD_ PADDING - Default card padding in logical pixels.
- DYNAMIC_
DEFAULT_ CARD_ RADIUS - Default card corner radius in logical pixels.
- DYNAMIC_
DEFAULT_ FONT_ SIZE - Default text font size in logical pixels.
- DYNAMIC_
DEFAULT_ GRID_ COLUMNS - Default grid column count when
DynamicStyleSpec::columnsis zero. - DYNAMIC_
DIVIDER_ HEX - Default divider hairline color for dynamically rendered SDUI dividers.
- DYNAMIC_
TEXT_ FG_ HEX - Default body text color for dynamically rendered SDUI text nodes.
- FONT_
FAMILY_ ANDROID_ SYSTEM - Display family name for Android system UI font.
- FONT_
FAMILY_ APPLE_ SYSTEM - Display family name for Apple CoreText system UI font.
- FONT_
FAMILY_ DETERMINISTIC - Display family name for the built-in deterministic bitmap font.
- FONT_
FAMILY_ LINUX_ SYSTEM - Display family name for Linux FreeType system UI font.
- FONT_
FAMILY_ WEB_ SYSTEM - Display family name for Web browser Canvas system font.
- FONT_
FAMILY_ WINDOWS_ SYSTEM - Display family name for Windows GDI system UI font.
- GLSL_
ES3_ UI_ FRAGMENT_ SHADER - OpenGL ES 3.0 / WebGL 2 fragment shader matching the exact analytical SDF, Gaussian shadow, and linear-light compositing equations.
- GLSL_
ES3_ UI_ VERTEX_ SHADER - OpenGL ES 3.0 / WebGL 2 vertex shader paired with
GLSL_ES3_UI_FRAGMENT_SHADER. - GPU_
DEVICE_ D3D12 - Device label when Windows Direct3D 12 runtime is present.
- GPU_
DEVICE_ FALLBACK - Fallback device label when executing on headless or software-only hosts.
- GPU_
DEVICE_ VULKAN - Device label when Vulkan ICD runtime is present.
- GPU_
DEVICE_ WEB - Device label for Web WebGL2 / WebGPU browsers.
- HLSL_
UI_ SHADER - Direct3D 11/12 HLSL pixel shader for Windows native hardware rendering.
- MAX_
QUADS_ PER_ BATCH - Maximum instanced quads packed into a single GPU vertex-instance draw batch.
- MONOSPACE_
ADVANCE_ RATIO - Horizontal advance ratio relative to font size for monospace text.
- MSL_
UI_ SHADER - Apple Metal Shading Language (MSL) SDF instanced UI vertex and fragment shaders for macOS, iOS, and iPadOS.
- NATIVE_
ACTION_ EXIT - Native action kind for requesting graceful OS application termination (e.g. Android
Activity.finish()). - NATIVE_
ACTION_ FULLSCREEN - Native action kind for immersive fullscreen toggling.
- NATIVE_
ACTION_ HAPTIC - Native action kind for tactile haptic feedback.
- NATIVE_
ACTION_ IME - Native action kind for OS soft-keyboard / IME visibility synchronization.
- NATIVE_
ACTION_ ISLAND - Native action kind for Dynamic Island / Live Activity updates.
- NATIVE_
ACTION_ NOTIFY - Native action kind for OS notifications.
- NATIVE_
ACTION_ PERMISSION - Native action kind for OS runtime permission prompts.
- NATIVE_
ACTION_ PROTOCOL - Native action kind for custom URI protocol registration confirmation.
- NATIVE_
ACTION_ TOAST - Native action kind for displaying a brief bottom system toast / snackbar prompt.
- PLATFORM_
NAME_ ANDROID - Canonical name string for Android native platform.
- PLATFORM_
NAME_ HEADLESS - Canonical name string for Headless offscreen platform.
- PLATFORM_
NAME_ IOS - Canonical name string for iOS native platform.
- PLATFORM_
NAME_ IPADOS - Canonical name string for iPadOS native platform.
- PLATFORM_
NAME_ LINUX - Canonical name string for Linux native platform.
- PLATFORM_
NAME_ MACOS - Canonical name string for macOS native platform.
- PLATFORM_
NAME_ WEB - Canonical name string for Web platform.
- PLATFORM_
NAME_ WINDOWS - Canonical name string for Windows native platform.
- PROPORTIONAL_
ADVANCE_ RATIO - Horizontal advance ratio relative to font size for proportional UI text.
- WASM_
ABI_ VERSION - Current euv dynamic WASM host ABI contract version.
- WASM_
BINARY_ MAGIC - Standard 4-byte WebAssembly binary magic header (
\0asm). - WASM_
BINARY_ VERSION - Standard 4-byte WebAssembly MVP binary version (
1). - WASM_
CUSTOM_ META_ SECTION - Custom section name carrying optional signed metadata.
- WASM_
DEFAULT_ MAX_ BINARY_ BYTES - Default maximum downloadable
.wasmbinary size (8 MiB). - WASM_
DEFAULT_ MAX_ FUEL - Default per-invocation instruction fuel budget preventing infinite loops.
- WASM_
DEFAULT_ MAX_ MEMORY_ BYTES - Default maximum WASM linear memory ceiling (
4 MiB). - WASM_
DEFAULT_ MAX_ RETRIES - Default transient download retry attempts before failing or serving cache.
- WASM_
DEFAULT_ TIMEOUT_ MS - Default network download timeout in milliseconds.
- WASM_
EXPORT_ ABI - Exported ABI version query function name inside dynamic
.wasmmodules. - WASM_
EXPORT_ ON_ EVENT - Exported interactive event handler function name inside dynamic
.wasmmodules. - WASM_
EXPORT_ RENDER - Exported render entrypoint function name inside dynamic
.wasmmodules. - WASM_
GLOBAL_ ROOT_ SLOT - Reserved global dynamic WASM root slot identifier.
- WASM_
IMPORT_ EMIT_ BUNDLE - Host import function emitting a global
DynamicUpdateBundleJSON buffer from WASM memory. - WASM_
IMPORT_ EMIT_ UI - Host import function emitting a partial
DynamicNodeSpecJSON buffer from WASM memory. - WASM_
IMPORT_ LOG - Host import function recording a diagnostic log line from WASM memory.
- WASM_
IMPORT_ MODULE_ ENV - Host import module namespace expected by euv dynamic
.wasmmodules. - WASM_
PAGE_ BYTES - WASM linear memory page size in bytes (
64 KiB). - WGSL_
UI_ SHADER - Portable WGSL SDF instanced UI quad shader for WebGPU and wgpu-compatible Vulkan pipelines.
Traits§
- Component
- Core declarative component trait unifying
Lifecyclehooks with framework-managedContextrendering. - Custom
Event - Marker trait implemented by strongly-typed cross-component custom events dispatched through
EventBusand#[event]/emit!/on_event!. - Game
Scene - Real-time game or engine scene embedded inside an
euvviewport or paired with aneuvHUD overlay. - GpuDriver
- Hardware GPU backend driver contract implemented per graphics API (Metal, Vulkan, D3D, WebGPU, WebGL2, Headless).
- Lifecycle
- Standalone lifecycle hook contract implemented by components and routed pages.
- Node
RefTarget - Target storage that receives a created
NodeIdviaview!node_ref:. - Platform
Backend - Unified system abstraction implemented directly over each OS native API (Web, Android, iOS, iPadOS, macOS, Windows, Linux, Headless).
- Style
Apply - Type-directed property application trait enabling concise enum/value shorthand inside
style! { AlignItems::Center; Overflow::Hidden; }. - System
Font Provider - Abstraction for native OS and deterministic glyph rasterization providers.
- Text
Measurer - Pluggable text measurement interface enabling deterministic cross-platform text layout.
- Wasm
Fetcher - Pluggable transport abstraction for downloading
.wasmbinaries over HTTP/HTTPS, CDN, local disk, or test registries. - Window
Controller - Unified window control interface implemented by all platform backends.
Functions§
- batch
- Coalesces multiple signal writes inside
operationinto a single reactive flush pass. - build_
faulty_ wasm - Builds a faulty
.wasmbinary exercising a specific security, integrity, ABI, or sandbox trap case. - build_
global_ app_ wasm - Builds a genuine global full-app
.wasmbinary emitting a completeDynamicUpdateBundlethat atomically takes over the root shell. - build_
partial_ widget_ wasm - Builds a genuine signed partial-slot
.wasmbinary rendering a rich nativeDynamicNodeSpecwith live interactive state. - circle_
supersampled_ coverage - Evaluates 4x4 rotated-grid supersampled coverage for a filled circle at pixel
(dx, dy)relative to center. - composite_
fill_ and_ border - Composites a rounded rectangle’s fill and concentric border cleanly into a single RGBA sample with zero seam bleed.
- compute_
spec_ checksum - Computes a deterministic 64-bit FNV-1a checksum over a
DynamicNodeSpectree across all platforms. - compute_
wasm_ checksum - Computes a deterministic 64-bit FNV-1a checksum over raw
.wasmbinary bytes. - compute_
wasm_ signature - Computes a deterministic keyed integrity signature tag for a
.wasmbinary and release version. - create_
native_ platform - Instantiates the native
PlatformBackendfor the active compile target. - current_
context - Returns a cloned handle to the active ambient
Context. - current_
dynamic_ hub - Returns the active ambient
DynamicUpdateHubattached to the currentContext. - current_
platform - Returns the active
PlatformKindfrom the ambientContext. - detect_
current_ platform - Detects the compile-time target
PlatformKindfor the current binary. - dispatch_
lifecycle_ activate - Dispatches
Lifecycle::on_activateacross all registered observers collected from a subtree. - dispatch_
lifecycle_ freeze - Dispatches
Lifecycle::on_freezeacross all registered observers collected from a subtree. - dispatch_
lifecycle_ resume - Dispatches
Lifecycle::on_resumeacross all registered observers collected from a subtree. - dispatch_
lifecycle_ update - Dispatches
Lifecycle::on_updateacross all registered observers collected from a subtree. - dispatch_
native_ action - Dispatches a native OS capability action
(kind, arg1, arg2)to the registered host bridge, if any. - execute_
wasm_ export - Executes an exported WebAssembly function inside a fuel-metered, memory-bounded sandbox.
- fast_
gaussian_ shadow_ falloff - Evaluates the true 2D analytical Gaussian shadow falloff via a 513-entry L1-cached linear-interpolated
erfcLUT (zero per-pixelexp()). - finalize_
disposed_ subtree - Executes
on_unmount, disposes reactivescopes, and finishes withon_destroyoutside any scene borrow. - flush_
effects - Flushes all pending reactive effects in topological depth order when not inside a batch.
- gaussian_
shadow_ falloff - Evaluates the true 2D analytical Gaussian shadow falloff
0.5 * erfc(dist / (sigma * sqrt(2))). - glyph_
bitmap_ rows - Looks up the raw 5x7 bitmap rows for a Unicode character.
- has_
context - Returns
truewhen an ambientContextis currently bound on this thread. - hit_
test - Finds the topmost interactive scene node containing
point, respecting z-index and clipping. - interleaved_
gradient_ noise - Evaluates Interleaved Gradient Noise (IGN) in
[-0.5, 0.5]to dither 8-bit shadows and gradients without visible banding. - into_
text - Converts any string-like value into an owned
Stringfor declarativeview!macro expansion. - is_
wide_ unicode - Returns
truewhenchbelongs to wide CJK, Kana, Hangul, or fullwidth Unicode blocks. - measure_
char_ advance - Computes deterministic logical advance width for a character under
style. - mount_
component - Mounts any
Componentinto the framework-managed ambientContextthrough its fullLifecycle. - mount_
dynamic_ spec - Compiles a declarative
DynamicNodeSpectree directly into live nativeSceneTreenodes. - normalize_
dynamic_ route - Normalizes a page route path so it always starts with
'/'and trims surrounding whitespace. - on_
cleanup - Registers a cleanup callback on the currently active reactive scope.
- parse_
wasm_ binary - Parses and validates a standard WebAssembly binary (
.wasm) into aWasmParsedModule. - probe_
native_ gpu - Probes the host OS for a physical GPU adapter, compiles native UI shaders, and returns handles.
- probe_
system_ font - Probes the active host operating system’s native font rasterization capability.
- quadrant_
corner_ radius - Selects the per-quadrant corner radius for point
(px, py)relative to box center. - rasterize_
glyph - Rasterizes a glyph into a smooth alpha-coverage bitmap at the requested key size.
- rasterize_
native_ glyph - Rasterizes a glyph through the active OS native font API, falling back to
Noneif unavailable. - rasterize_
unicode_ deterministic - Deterministically rasterizes non-ASCII / CJK glyphs into distinct, crisp stroke patterns.
- reactive_
stats - Returns diagnostic statistics for the current thread’s reactive runtime.
- register_
external_ glyph_ rasterizer - Registers an external platform-host native glyph rasterizer callback (for example Android Skia
Paintvia JNI). - register_
native_ action_ bridge - Registers a platform-host native OS capability bridge (haptics, notifications, permissions, fullscreen, Dynamic Island).
- release_
native_ gpu_ handles - Releases native GPU handles on driver teardown.
- reset_
reactive_ runtime - Resets the current thread’s reactive runtime to an empty state.
- rounded_
box_ sdf - Evaluates the signed distance from point
(px, py)to a rounded rectangle box. - rounded_
box_ supersampled_ coverage - Evaluates 4x4 rotated-grid supersampled coverage for a rounded box and concentric inner border at pixel
(px, py). - sdf_
coverage - Converts a signed distance into exact pixel-width anti-aliased coverage in
[0.0, 1.0]with zero straight-edge bleed. - snap_
physical_ rect - Snaps logical rectangle bounds to crisp physical pixel edges across fractional DPI scales (
1.25x,1.5x,2.625x,3x). - submit_
native_ gpu_ batches - Uploads instanced quad buffers and submits a command buffer to the active physical GPU.
- triangle_
supersampled_ coverage - Evaluates 4x4 rotated-grid supersampled coverage for a triangle at physical pixel
(px, py). - untracked
- Executes
operationwithout tracking any reactive signal or memo reads. - with_
context - Runs
operationwithctxbound as the active ambientContext, restoring any previous context on exit.
Type Aliases§
- Canvas
Draw Callback - Custom 2D canvas draw callback invoked during the paint pass.
- Disposed
Subtree Payload - Collected scopes and
(NodeId, Rc<dyn Lifecycle>)observers returned when tearing down a scene subtree. - Dynamic
Action Callback - Callback closure invoked when a user interacts with a dynamically updated control.
- Dynamic
Builder Fn - Zero-context native Rust UI builder closure used for hot-swapping components or pages.
- Dynamic
Route Fallback Fn - Route-aware fallback builder closure invoked by
DynamicPageOutletwhen no dynamic page overrides a route. - External
Glyph Rasterizer - Function pointer signature for platform-host supplied anti-aliased glyph rasterizers (e.g. Android JNI
Paint/Canvas). - Native
Action Bridge - Function pointer signature for platform-host native OS capability actions
(kind, arg1, arg2) -> dispatched. - UiEvent
Handler - Shared event handler callback stored on a scene node.