Re-exports§
pub use crate::memory::ImageCachePolicy;
Structs§
- Action
Id - Animated
Value - Animation
Binding - Animation
Registry - Animation
Snapshot - Backdrop
Blur Style - Color
- Component
Action Outcome - Component
Id - Component
Runtime Metrics - Component
State Store - Component
Tree - Compositing
Layer Spec - An independently retained paint surface. Animation is only one possible producer of changes.
- Context
Provider Guard - Context
Registry - Custom
Paint Style - Dirty
Set - Dirty
Tracker - Edge
Insets - Effect
Registry - Element
- Element
Key - Element
Render Cx - Event
Policy - Fragment
- HitResult
- HookId
- Hook
State Store - Host
Projection Metrics - Host
Tree - Host
Tree Builder - Icon
Style - Image
Request - Interaction
Flags - KeyModifiers
- Pressed modifier keys.
- Keyboard
Event - Keyboard events are issued for all pressed and released keys.
- Layer
Transform - A backend-neutral transform applied while a retained layer is composited.
- Layout
Commit Metrics - Layout
Runtime - Observable
- Overlay
Style - Path
Style - Pending
Update Output - Physical
Point - Physical
Rect - Physical
Size - Point
- Pointer
Data - Pointer
Id - Radial
Gradient Layer - Render
Cx - Runtime
Output - Scene
- Scroll
Raster Spec - Semantic
Node - Semantic
Relationships - Semantic
State - Semantic
Text - Semantic
Update - Semantics
- Shadow
Style - A drop shadow of an element’s composited alpha, including its descendants. Distances are logical pixels; blur is the Gaussian standard deviation. Positive spread dilates the alpha mask; negative spread erodes it.
- Size
- State
- State
Setter - Static
Layer Spec - Stroke
- Text
Style - UiAction
- UiAction
Binding - UiAction
Event - UiAsync
Context - UiDefault
Action - UiElement
- UiEvent
Context - Generic application, Store, Router, task and window access passed to every event handler.
- UiEvent
Dispatcher - UiEvent
Flags - UiFocus
Handle - UiHandler
Event - UiId
- UiId
Path - UiInput
Event Binding - UiInteraction
State - UiNode
- UiPath
- UiRect
- UiRender
Context - UiRuntime
- UiScale
- UiScope
- UiUpdate
Queue - Vertical
Gradient Layer - Visual
Style - Wheel
Delta - Window
State Event
Enums§
- Align
- Anim
Property - Animation
Timing - Axis
- Compositing
Layer Background - Hook
Slot Kind - Image
Decode Policy - Image
Fit - ImeEvent
- Input
Event - Interaction
Role - KeyLocation
- The location attribute contains an indication of the physical location of the key on the device.
- KeyState
- Describes the state a key is in.
- Layout
Invalidation - Layout
Spec - Logical
Key - The value received from the keypress.
- Named
Key - Key represents the meaning of a keypress.
- Physical
Key - Code is the physical position of a key.
- Platform
Event - Platform
Theme - Pointer
Button - Pointer
Kind - Raster
Cache Policy - Render
Phase - Scene
Primitive - Scene
Primitive Kind - Semantic
Action - Semantic
Input - Semantic
Role - Static
Layer Background - Static
Layer Source - Text
Align - Touch
Phase - UiEvent
- UiEvent
Kind - UiEvent
Payload - UiImage
Source - UiNode
Kind - UiPath
Command - Wheel
Unit
Constants§
Traits§
- Component
State - Compositing
Layer Animation - Application-owned animation state for a retained compositing layer.
- Declarative
View - Into
Click Handler - Into
Effect Cleanup - Into
Element Content - Into
UiHandler - Root
Component - UiComponent
- UiExecutor
Functions§
- animated_
compositing_ layer - Creates a retained compositing layer whose application-owned animation state updates only composition properties. Its static children are reused between frames.
- apply_
events_ to_ animations - apply_
layout - apply_
layout_ tree - async_
handler - async_
handler_ with - clip
- clip_
path - commands_
for_ phase - compile_
scene - compile_
scene_ root - Compiles one retained scene root. Normal commits call this only for inserted or paint-dirty roots; unchanged roots keep their previously committed primitive vectors.
- component
- Declares a real component boundary whose hooks, children and compiled output are retained.
Unchanged props and clean dependencies reuse the committed output without executing
render. - compositing_
layer - compositing_
layer_ damage - Computes the pixels that can change when a retained layer replaces one command list with
another. Returned rectangles use the same local coordinate space as
previousandnext. - content_
text - context_
provider - Provides a typed context value while its declarative descendants are compiled.
- dispatch_
event_ handlers - dispatch_
hit_ handlers - dispatch_
runtime_ output - Executes every handler and control default action produced by one runtime input pass.
- ellipse
- fragment
- glow
- group
- line
- noop_
task_ spawner - overlay
- path
- precompiled
- scene_
root_ ids - Returns the retained scene roots in backend paint order without compiling their primitives. Descendants owned by clip/static/raster containers are represented by that container root; popup descendants remain independent roots so they preserve popup z-order semantics.
- scroll_
raster_ command_ snapshot_ exists - text
- try_
use_ context - Tries to read a typed value from the nearest provider for the component currently being rendered.
- use_
context - Reads a typed value from the nearest provider and subscribes the component currently being rendered to provider changes.