Skip to main content

Crate sui_runtime

Crate sui_runtime 

Source

Structs§

Application
ArrangeCtx
AsyncTaskInspectorSnapshot
CacheMetrics
CacheMetricsDelta
Command
Borrowed view of a command while it is delivered on the UI thread.
CommandCtx
Context supplied to window and application command controllers.
CommandDispatchSample
One application-command delivery attempt retained in the next frame.
CommandKey
A process-local, strongly typed command identifier.
CommandSender
Cloneable, thread-safe producer for application commands.
DpiInfo
EmbeddedSvgImageResource
EventCtx
EventRouteStep
EventRouteTraceSample
Privacy-safe event routing trace. Event payloads and typed characters are intentionally not retained.
FocusScope
Retains focus history for a stable child subtree.
FocusScopeState
Shared retained focus history for a FocusScope.
FocusState
FramePhaseSample
FrameSchedule
InspectorHistorySnapshot
InvalidationTraceSample
The origin and optional caller explanation for a scheduled invalidation.
KeyedChildren
Layout-neutral retained child collection reconciled by stable application keys.
KeyedReconcile
LayerOptions
LayoutContext
MeasureCtx
OverlayDismissPolicy
OverlayDismissRequest
OverlayFocusBehavior
Focus behavior shared by every transient presentation policy.
OverlayManagerSnapshot
OverlayOptions
Runtime behavior declared by the logical owner of an overlay.
OverlaySnapshot
OverlayTraceSample
PaintCtx
PresentationLatencyDiagnostics
ReactiveInvalidationSample
RenderDiagnostics
RenderOutput
RendererSubmissionDiagnostics
RetainedPacketHotspotDiagnostics
RetainedPacketRebuildDiagnostics
Runtime
SafeAreaInsets
SceneStatistics
SchedulerInspectorSnapshot
SemanticsCtx
SingleChild
StackHostOptions
StackHostSnapshot
StackSurfaceOptions
TextCacheDeltaDiagnostics
TextCacheDiagnostics
TimerInspectorSnapshot
WidgetChildren
WidgetDiagnostic
One opt-in diagnostic value published by a widget for live inspection.
WidgetDiagnosticsCtx
Collector passed to Widget::diagnostics.
WidgetDiagnosticsSnapshot
On-demand widget-specific state included in an inspector snapshot.
WidgetGeometrySnapshot
WidgetGraphSnapshot
WidgetNodeSnapshot
WidgetPod
Standard retained-widget adapter used by the SUI runtime.
WidgetRebuildSample
WidgetTimingSample
WindowBuilder
WindowInspectorSnapshot
Renderer-neutral, point-in-time state consumed by testing tools and live inspector UIs. Capturing widget-specific diagnostics is opt-in and happens only while this snapshot is requested.
WindowPerformanceSnapshot
WindowPerformanceSummary
WindowRenderOptions

Enums§

CommandDelivery
CommandTarget
EventPhase
EventRoutePhase
FocusRestorePolicy
FramePhase
OverlayDismissReason
OverlayInitialFocus
OverlayKind
Broad behavior category used by diagnostics and accessibility adapters.
OverlayModality
OverlayTraceKind
PaintBoundaryMode
SceneStatisticsDetailMode
StackOrderPolicy
WidgetTimingPhase
WindowColorManagementMode
WindowDynamicRangeMode
WindowIcon
WindowOutputColorPrimaries
WindowStemDarkening
WindowTextCoveragePolicy
WindowTextHinting
WindowTextSubpixelOrder
WindowToneMappingMode

Constants§

DEFAULT_SUI_LOGO_SVG
EXTERNAL_WAKE_KIND
Legacy root-event kind. Platform wakes no longer synthesize this event; use CommandSender and window/application controllers instead.
OVERLAY_DISMISS_REQUEST
Typed runtime-to-widget request used for centralized dismissal arbitration.
REACTIVE_CHANGED
Internal typed notification delivered to widgets whose observable dependencies changed.

Traits§

CommandController
Non-widget application service that receives commands on the UI thread. Controllers are owned by their application/window builder and are dropped automatically with that owner.
Widget
WidgetPodMutVisitor
WidgetPodVisitor

Functions§

clear_window_performance_snapshot
clear_window_performance_snapshots
clear_window_render_options
default_sui_logo_image
publish_window_performance_snapshot
set_window_render_options
set_window_scene_statistics_detail_mode
window_performance_snapshot
window_performance_summary
window_performance_text_caches
window_render_options
window_scene_statistics_detail_mode