Expand description
High level utilities for running Cranpose applications with minimal boilerplate.
Modules§
- desktop
- Desktop runtime for Compose applications.
- fling_
animation - Re-export the UI crate so applications can depend on a single crate. Fling animation driver for scroll containers.
- http
- Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- layout
- Re-export the UI crate so applications can depend on a single crate.
- prelude
- Convenience imports for Cranpose applications.
- recorder
- Input event recorder for generating robot tests from manual interactions.
- scroll
- Re-export the UI crate so applications can depend on a single crate. Scroll state and node implementation for cranpose.
- text
- Re-export the UI crate so applications can depend on a single crate.
- text_
field_ focus - Re-export the UI crate so applications can depend on a single crate. Global focus manager for text fields.
- text_
layout_ result - Re-export the UI crate so applications can depend on a single crate. Text layout result with cached glyph positions.
- uri_
handler - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- widgets
- Re-export the UI crate so applications can depend on a single crate. UI Widget components
Macros§
- remember
Scroll State - Re-export the UI crate so applications can depend on a single crate. Creates a remembered ScrollState.
Structs§
- Alignment
- Re-export the UI crate so applications can depend on a single crate. Alignment across both axes used for positioning content within a box.
- Alpha
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates alpha nodes.
- Alpha
Node - Re-export the UI crate so applications can depend on a single crate. Node that applies alpha transparency to its content.
- AppLauncher
- Platform-agnostic application launcher.
- AppSettings
- Configuration for application settings.
- Background
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates background nodes.
- Background
Node - Re-export the UI crate so applications can depend on a single crate. Node that draws a background behind its content.
- Basic
Text Field Options - Re-export the UI crate so applications can depend on a single crate. Options for customizing BasicTextField appearance and behavior.
- Blurred
Edge Treatment - Re-export the UI crate so applications can depend on a single crate. Controls blur behavior outside source bounds.
- BoxSpec
- Re-export the UI crate so applications can depend on a single crate. Specification for Box layout behavior.
- BoxWith
Constraints Scope Impl - Re-export the UI crate so applications can depend on a single crate.
Concrete implementation of
BoxWithConstraintsScope. - Clickable
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates clickable nodes.
- Clickable
Node - Re-export the UI crate so applications can depend on a single crate.
- Color
- Re-export the UI crate so applications can depend on a single crate.
- Column
Spec - Re-export the UI crate so applications can depend on a single crate. Specification for Column layout behavior.
- Composition
- Re-export the UI crate so applications can depend on a single crate.
- Constraints
- Re-export the UI crate so applications can depend on a single crate. Constraints used during layout measurement.
- Corner
Radii - Re-export the UI crate so applications can depend on a single crate.
- Corner
Shape Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates corner shape nodes.
- Corner
Shape Node - Re-export the UI crate so applications can depend on a single crate. Node that tracks the latest rounded corner shape.
- DevOptions
- FPS monitoring API - use these to track frame rate for performance optimization.
- Dp
- Re-export the UI crate so applications can depend on a single crate. Density-independent pixels
- DpOffset
- Re-export the UI crate so applications can depend on a single crate. Density-independent offset for shadows.
- Draw
Cache Builder - Re-export the UI crate so applications can depend on a single crate.
- Edge
Insets - Re-export the UI crate so applications can depend on a single crate. Padding values for each edge of a rectangle.
- Fill
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates fill nodes.
- Fill
Node - Re-export the UI crate so applications can depend on a single crate. Node that fills the maximum available space in one or both dimensions.
- Focus
Manager - Re-export the UI crate so applications can depend on a single crate. Focus manager that tracks and manages focus state across the composition.
- FpsStats
- FPS monitoring API - use these to track frame rate for performance optimization.
- Graphics
Layer - Re-export the UI crate so applications can depend on a single crate.
- Headless
Renderer - Re-export the UI crate so applications can depend on a single crate. A lightweight renderer that walks the layout tree and materialises paint commands.
- Image
Bitmap - Re-export the UI crate so applications can depend on a single crate. Immutable RGBA image data used by UI primitives and render backends.
- KeyEvent
- Re-export the UI crate so applications can depend on a single crate. A keyboard input event.
- Layout
Box - Re-export the UI crate so applications can depend on a single crate. Layout information for a single node.
- Layout
Measurements - Re-export the UI crate so applications can depend on a single crate. Result of running the measure pass for a Compose layout tree.
- Layout
Node - Re-export the UI crate so applications can depend on a single crate.
- Layout
Node Data - Re-export the UI crate so applications can depend on a single crate. Snapshot of the data required to render a layout node.
- Layout
Tree - Re-export the UI crate so applications can depend on a single crate. Result of running layout for a Compose tree.
- Lazy
Column Spec - Re-export the UI crate so applications can depend on a single crate. Specification for LazyColumn layout behavior.
- Lazy
List Item Info - Re-export the UI crate so applications can depend on a single crate. Information about a single visible item in a lazy list.
- Lazy
List Layout Info - Re-export the UI crate so applications can depend on a single crate. Information about the currently visible items in a lazy list.
- Lazy
List State - Re-export the UI crate so applications can depend on a single crate. State object for lazy list scroll position tracking.
- Lazy
RowSpec - Re-export the UI crate so applications can depend on a single crate. Specification for LazyRow layout behavior.
- Measure
Result - Re-export the UI crate so applications can depend on a single crate. Result of a measurement operation.
- Modifier
- Re-export the UI crate so applications can depend on a single crate. A modifier chain that can be applied to composable elements.
- Modifier
Chain Trace Guard - Re-export the UI crate so applications can depend on a single crate. RAII guard returned when installing a modifier chain trace subscriber.
- Modifier
Node Slices - Re-export the UI crate so applications can depend on a single crate. Snapshot of modifier node slices that impact draw and pointer subsystems.
- Modifiers
- Re-export the UI crate so applications can depend on a single crate. Modifier keys state.
- Offset
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates offset nodes.
- Offset
Node - Re-export the UI crate so applications can depend on a single crate. Node that offsets its content by a fixed (x, y) amount.
- Padding
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates padding nodes.
- Padding
Node - Re-export the UI crate so applications can depend on a single crate. Node that adds padding around its content.
- Painter
- Re-export the UI crate so applications can depend on a single crate.
- Paragraph
Style - Re-export the UI crate so applications can depend on a single crate.
- Placement
- Re-export the UI crate so applications can depend on a single crate. Placement information for a measured child.
- Platform
Paragraph Style - Re-export the UI crate so applications can depend on a single crate.
- Platform
Span Style - Re-export the UI crate so applications can depend on a single crate.
- Platform
Text Style - Re-export the UI crate so applications can depend on a single crate.
- Point
- Re-export the UI crate so applications can depend on a single crate.
- Pointer
Event - Re-export the UI crate so applications can depend on a single crate. Pointer event with consumption tracking for gesture disambiguation.
- Pointer
Input Scope - Re-export the UI crate so applications can depend on a single crate.
- Prepared
Text Layout - Re-export the UI crate so applications can depend on a single crate.
- Recorded
Render Scene - Re-export the UI crate so applications can depend on a single crate. A collection of render operations for a composed scene.
- Rect
- Re-export the UI crate so applications can depend on a single crate.
- Resolved
Background - Re-export the UI crate so applications can depend on a single crate.
- Resolved
Modifiers - Re-export the UI crate so applications can depend on a single crate.
- Rounded
Corner Shape - Re-export the UI crate so applications can depend on a single crate.
- RowSpec
- Re-export the UI crate so applications can depend on a single crate. Specification for Row layout behavior.
- Runtime
Shader - Re-export the UI crate so applications can depend on a single crate.
A custom WGSL shader effect, analogous to Android’s
RuntimeShader. - Scroll
Element - Re-export the UI crate so applications can depend on a single crate. Element for creating a ScrollNode.
- Scroll
Node - Re-export the UI crate so applications can depend on a single crate. ScrollNode layout modifier that physically moves content based on scroll position. This is the component that actually reads ScrollState and applies the visual offset.
- Scroll
State - Re-export the UI crate so applications can depend on a single crate. State object for scroll position tracking.
- Semantics
Callback - Re-export the UI crate so applications can depend on a single crate. Discrete event callback reference produced during semantics extraction.
- Semantics
Node - Re-export the UI crate so applications can depend on a single crate. A single node within the semantics tree.
- Semantics
Tree - Re-export the UI crate so applications can depend on a single crate. Rooted semantics tree extracted after layout.
- Shadow
- Re-export the UI crate so applications can depend on a single crate. Static shadow configuration.
- Shadow
Scope - Re-export the UI crate so applications can depend on a single crate. Pixel-space shadow scope used by block-based APIs.
- Size
- Re-export the UI crate so applications can depend on a single crate.
- Size
Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates size nodes.
- Size
Node - Re-export the UI crate so applications can depend on a single crate. Node that enforces size constraints on its content.
- Snapshot
State - Re-export the UI crate so applications can depend on a single crate.
- Span
Style - Re-export the UI crate so applications can depend on a single crate.
- String
Annotation - Re-export the UI crate so applications can depend on a single crate.
Mirrors Jetpack Compose’s
AnnotatedString.Range<String>— a tag+value annotation covering a byte range. - Subcompose
Layout Node - Re-export the UI crate so applications can depend on a single crate. Node responsible for orchestrating measure-time subcomposition.
- Subcompose
Measure Scope Impl - Re-export the UI crate so applications can depend on a single crate.
Concrete implementation of
SubcomposeMeasureScope. - Text
Field Element - Re-export the UI crate so applications can depend on a single crate.
Element that creates and updates
TextFieldModifierNodeinstances. - Text
Field Modifier Node - Re-export the UI crate so applications can depend on a single crate.
- Text
Layout Options - Re-export the UI crate so applications can depend on a single crate.
Text layout behavior options matching Compose
BasicTextcontrols. - Text
Metrics - Re-export the UI crate so applications can depend on a single crate.
- Text
Modifier Element - Re-export the UI crate so applications can depend on a single crate. Element that creates and updates TextModifierNode instances.
- Text
Modifier Node - Re-export the UI crate so applications can depend on a single crate. Node that stores text content and handles measurement, drawing, and semantics.
- Text
Style - Re-export the UI crate so applications can depend on a single crate.
- Transform
Origin - Re-export the UI crate so applications can depend on a single crate.
Enums§
- Blend
Mode - Re-export the UI crate so applications can depend on a single crate. Blend mode used for draw primitives.
- Brush
- Re-export the UI crate so applications can depend on a single crate.
- Color
Filter - Re-export the UI crate so applications can depend on a single crate. Simple image color filter model.
- Compositing
Strategy - Re-export the UI crate so applications can depend on a single crate. Controls how a graphics layer is composited into its parent target.
- Content
Scale - Re-export the UI crate so applications can depend on a single crate.
- Draw
Command - Re-export the UI crate so applications can depend on a single crate.
- Fill
Direction - Re-export the UI crate so applications can depend on a single crate. Direction for fill modifiers (horizontal, vertical, or both).
- Horizontal
Alignment - Re-export the UI crate so applications can depend on a single crate. Alignment along the horizontal axis.
- Http
Error - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- Intrinsic
Size - Re-export the UI crate so applications can depend on a single crate. Specifies how to size a component based on its intrinsic measurements.
- KeyCode
- Re-export the UI crate so applications can depend on a single crate. Physical key codes for keyboard input.
- KeyEvent
Type - Re-export the UI crate so applications can depend on a single crate. Type of keyboard event.
- Layer
Shape - Re-export the UI crate so applications can depend on a single crate.
- Layout
Node Kind - Re-export the UI crate so applications can depend on a single crate.
Classification of the node captured inside a
LayoutBox. - Linear
Arrangement - Re-export the UI crate so applications can depend on a single crate. Arrangement strategy matching Jetpack Compose’s linear arrangements.
- Link
Annotation - Re-export the UI crate so applications can depend on a single crate.
Mirrors Jetpack Compose’s
LinkAnnotationsealed class. - Paint
Layer - Re-export the UI crate so applications can depend on a single crate. Layer that a paint operation targets within the rendering pipeline.
- Pointer
Event Kind - Re-export the UI crate so applications can depend on a single crate.
- Render
Effect - Re-export the UI crate so applications can depend on a single crate. A render effect applied to a graphics layer’s rendered content.
- Render
Op - Re-export the UI crate so applications can depend on a single crate. A rendered operation emitted by the headless renderer stub.
- Semantics
Action - Re-export the UI crate so applications can depend on a single crate. Semantics action exposed to the input system.
- Semantics
Role - Re-export the UI crate so applications can depend on a single crate. Semantic role describing how a node should participate in accessibility and hit testing. Roles are now derived from SemanticsConfiguration rather than widget types.
- Text
Draw Style - Re-export the UI crate so applications can depend on a single crate.
- Text
Overflow - Re-export the UI crate so applications can depend on a single crate. How overflowing text should be handled.
- UriHandler
Error - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- Vertical
Alignment - Re-export the UI crate so applications can depend on a single crate. Alignment along the vertical axis.
Constants§
- DEFAULT_
ALPHA - Re-export the UI crate so applications can depend on a single crate.
Traits§
- Arrangement
- Re-export the UI crate so applications can depend on a single crate. Trait implemented by arrangement strategies that distribute children on an axis.
- BoxScope
- Re-export the UI crate so applications can depend on a single crate.
Marker trait matching Jetpack Compose’s
BoxScopeAPI. - BoxWith
Constraints Scope - Re-export the UI crate so applications can depend on a single crate.
Scope exposed to [
BoxWithConstraints] content. - Http
Client - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- Layout
Engine - Re-export the UI crate so applications can depend on a single crate.
Extension trait that equips
MemoryApplierwith layout computation. - Measurable
- Re-export the UI crate so applications can depend on a single crate. Object capable of measuring a layout child and exposing intrinsic sizes.
- Placeable
- Re-export the UI crate so applications can depend on a single crate. Result of running a measurement pass for a single child.
- Subcompose
Layout Scope - Re-export the UI crate so applications can depend on a single crate. Base trait for measurement scopes.
- Subcompose
Measure Scope - Re-export the UI crate so applications can depend on a single crate. Public trait exposed to measure policies for subcomposition.
- Text
Measurer - Re-export the UI crate so applications can depend on a single crate.
- UriHandler
- Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
Functions§
- Basic
Text - Re-export the UI crate so applications can depend on a single crate. High-level element that displays text.
- Basic
Text Field - Re-export the UI crate so applications can depend on a single crate.
- Bitmap
Painter - Re-export the UI crate so applications can depend on a single crate.
- Box
- Re-export the UI crate so applications can depend on a single crate. A layout composable that stacks its children on top of each other.
- BoxWith
Constraints - Re-export the UI crate so applications can depend on a single crate.
- Button
- Re-export the UI crate so applications can depend on a single crate. A clickable button with a background and content.
- Canvas
- Re-export the UI crate so applications can depend on a single crate.
A composable that draws custom content using a
DrawScope. - Clickable
Text - Re-export the UI crate so applications can depend on a single crate.
Displays an
AnnotatedStringand callson_clickwith the byte offset of the character under the pointer at the time of the click. - Column
- Re-export the UI crate so applications can depend on a single crate. A layout composable that places its children in a vertical sequence.
- ForEach
- Re-export the UI crate so applications can depend on a single crate.
- Image
- Re-export the UI crate so applications can depend on a single crate.
- Layout
- Re-export the UI crate so applications can depend on a single crate.
- Lazy
Column - Re-export the UI crate so applications can depend on a single crate. A vertically scrolling list that only composes visible items.
- LazyRow
- Re-export the UI crate so applications can depend on a single crate. A horizontally scrolling list that only composes visible items.
- Linked
Text - Re-export the UI crate so applications can depend on a single crate.
Renders an
AnnotatedStringand automatically dispatches link clicks: - Provide
UriHandler - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- Row
- Re-export the UI crate so applications can depend on a single crate. A layout composable that places its children in a horizontal sequence.
- Spacer
- Re-export the UI crate so applications can depend on a single crate. A component that represents an empty space.
- Subcompose
Layout - Re-export the UI crate so applications can depend on a single crate.
- Text
- Re-export the UI crate so applications can depend on a single crate.
- active_
focus_ target - Re-export the UI crate so applications can depend on a single crate. Returns the currently active focus target, if any.
- clear_
focus_ invalidations - Re-export the UI crate so applications can depend on a single crate. Clears all pending focus invalidations without processing them.
- clear_
pointer_ repasses - Re-export the UI crate so applications can depend on a single crate. Clears all pending pointer repasses without processing them.
- collect_
modifier_ slices - Re-export the UI crate so applications can depend on a single crate.
Collects modifier node slices directly from a reconciled
ModifierNodeChain. - collect_
slices_ from_ modifier - Re-export the UI crate so applications can depend on a single crate.
Collects modifier node slices by instantiating a temporary node chain from a
Modifier. - current_
density - Re-export the UI crate so applications can depend on a single crate. Returns the current density scale factor (logical px per dp).
- current_
fps - FPS monitoring API - use these to track frame rate for performance optimization.
- default_
http_ client - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- default_
uri_ handler - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- execute_
draw_ commands - Re-export the UI crate so applications can depend on a single crate.
- format_
layout_ tree - Re-export the UI crate so applications can depend on a single crate. Returns a formatted string representation of the layout tree
- format_
modifier_ chain - Re-export the UI crate so applications can depend on a single crate. Formats the modifier chain using inspector data.
- format_
render_ scene - Re-export the UI crate so applications can depend on a single crate. Returns a formatted string representation of the render scene
- fps_
display - FPS monitoring API - use these to track frame rate for performance optimization.
- fps_
display_ detailed - FPS monitoring API - use these to track frame rate for performance optimization.
- fps_
stats - FPS monitoring API - use these to track frame rate for performance optimization.
- get_
cursor_ x_ for_ offset - Re-export the UI crate so applications can depend on a single crate.
- get_
offset_ for_ position - Re-export the UI crate so applications can depend on a single crate.
- has_
focused_ field - Re-export the UI crate so applications can depend on a single crate. Returns true if any text field currently has focus. Checks weak ref liveness and clears stale focus state.
- has_
pending_ draw_ repasses - Re-export the UI crate so applications can depend on a single crate. Returns true if any draw repasses are pending.
- has_
pending_ focus_ invalidations - Re-export the UI crate so applications can depend on a single crate. Returns true if any focus invalidations are pending.
- has_
pending_ layout_ repasses - Re-export the UI crate so applications can depend on a single crate. Returns true if any layout repasses are pending.
- has_
pending_ pointer_ repasses - Re-export the UI crate so applications can depend on a single crate. Returns true if any pointer repasses are pending.
- install_
modifier_ chain_ trace - Re-export the UI crate so applications can depend on a single crate. Installs a callback that receives modifier chain snapshots when debugging is enabled.
- is_
cursor_ visible - Re-export the UI crate so applications can depend on a single crate. Returns whether the cursor should be visible right now.
- layout_
text - Re-export the UI crate so applications can depend on a single crate.
- local_
http_ client - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- local_
uri_ handler - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- log_
layout_ tree - Re-export the UI crate so applications can depend on a single crate. Logs the current layout tree to stdout with indentation showing hierarchy
- log_
modifier_ chain - Re-export the UI crate so applications can depend on a single crate. Logs the contents of a modifier node chain including capabilities.
- log_
render_ scene - Re-export the UI crate so applications can depend on a single crate. Logs the current render scene to stdout showing all draw operations
- log_
screen_ summary - Re-export the UI crate so applications can depend on a single crate. Logs a compact summary of what’s on screen (counts by type)
- measure_
layout - Re-export the UI crate so applications can depend on a single crate.
Runs the measure phase for the subtree rooted at
root. - measure_
text - Re-export the UI crate so applications can depend on a single crate.
- measure_
text_ with_ options - Re-export the UI crate so applications can depend on a single crate.
- mutable
State Of - Core runtime helpers commonly used by applications.
Creates a new
MutableStateinitialized with the given value. - next_
cursor_ blink_ time - Re-export the UI crate so applications can depend on a single crate.
Returns the next cursor blink transition time, if any.
Use this for
WaitUntilscheduling in the event loop. - peek_
focus_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a focus invalidation is pending without clearing it.
- peek_
layout_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a layout invalidation is pending without clearing it.
- peek_
pointer_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a pointer invalidation is pending without clearing it.
- peek_
render_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a render invalidation is pending without clearing it.
- prepare_
text_ layout - Re-export the UI crate so applications can depend on a single crate.
- process_
focus_ invalidations - Re-export the UI crate so applications can depend on a single crate. Processes all pending focus invalidations.
- process_
pointer_ repasses - Re-export the UI crate so applications can depend on a single crate. Processes all pending pointer repasses.
- remember
- Core runtime helpers commonly used by applications.
- remember
Updated State - Core runtime helpers commonly used by applications.
Returns a
MutableStatethat always holds the latest value. - request_
focus_ invalidation - Re-export the UI crate so applications can depend on a single crate. Requests a focus recomposition without affecting layout/draw dirties.
- request_
layout_ invalidation - Re-export the UI crate so applications can depend on a single crate. Requests a global layout re-run.
- request_
pointer_ invalidation - Re-export the UI crate so applications can depend on a single crate. Requests a new pointer-input pass without touching layout or draw dirties.
- request_
render_ invalidation - Re-export the UI crate so applications can depend on a single crate. Requests that the renderer rebuild the current scene.
- reset_
cursor_ blink - Re-export the UI crate so applications can depend on a single crate. Resets cursor to visible and restarts the blink timer. Call this on any input (key press, paste) so cursor stays visible while typing.
- run_
test_ composition - Re-export the UI crate so applications can depend on a single crate. Build a composition with a simple in-memory applier and run the provided closure once.
- schedule_
draw_ repass - Re-export the UI crate so applications can depend on a single crate. Schedules a draw-only repass for a specific node.
- schedule_
focus_ invalidation - Re-export the UI crate so applications can depend on a single crate. Schedules a focus invalidation for the specified node.
- schedule_
layout_ repass - Re-export the UI crate so applications can depend on a single crate. Schedules a layout repass for a specific node.
- schedule_
pointer_ repass - Re-export the UI crate so applications can depend on a single crate. Schedules a pointer repass for the specified node.
- set_
active_ focus_ target - Re-export the UI crate so applications can depend on a single crate. Sets the currently active focus target.
- set_
density - Re-export the UI crate so applications can depend on a single crate. Updates the current density scale factor.
- set_
text_ measurer - Re-export the UI crate so applications can depend on a single crate.
- start_
cursor_ blink - Re-export the UI crate so applications can depend on a single crate. Starts the global cursor blink animation. Called when a text field gains focus.
- stop_
cursor_ blink - Re-export the UI crate so applications can depend on a single crate. Stops the global cursor blink animation. Called when no text field is focused.
- take_
draw_ repass_ nodes - Re-export the UI crate so applications can depend on a single crate. Takes all pending draw repass node IDs.
- take_
focus_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a focus invalidation was pending and clears the flag.
- take_
layout_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a layout invalidation was pending and clears the flag.
- take_
layout_ repass_ nodes - Re-export the UI crate so applications can depend on a single crate. Takes all pending layout repass node IDs.
- take_
pointer_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a pointer invalidation was pending and clears the flag.
- take_
render_ invalidation - Re-export the UI crate so applications can depend on a single crate. Returns true if a render invalidation was pending and clears the flag.
- tick_
cursor_ blink - Re-export the UI crate so applications can depend on a single crate.
Advances the cursor blink state if needed.
Returns
trueif a redraw is needed. - tree_
needs_ layout - Re-export the UI crate so applications can depend on a single crate. Check if a node or any of its descendants needs measure (selective measure optimization). This can be used by the app shell to skip layout when the tree is clean.
- useState
- Core runtime helpers commonly used by applications.
A composable hook that creates and remembers a
MutableState.
Type Aliases§
- Http
Client Ref - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- Http
Future - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
- Key
- Re-export the UI crate so applications can depend on a single crate.
- Test
Composition - Re-export the UI crate so applications can depend on a single crate. Convenience alias used in examples and tests.
- UriHandler
Ref - Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
Attribute Macros§
- composable
- Re-export the UI crate so applications can depend on a single crate.