Expand description
Operad is a small retained-mode UI document layer.
The crate intentionally contains only reusable primitives: layout, text measurement, hit testing, focus, animation, and optional renderer backends. Product-specific screens and game/application state should live in the consuming application crate.
Re-exports§
pub use accessibility::AccessibilityAdapter;pub use accessibility::AccessibilityAdapterApplyReport;pub use accessibility::AccessibilityAdapterRequest;pub use accessibility::AccessibilityAdapterRequestPlan;pub use accessibility::AccessibilityAdapterResponse;pub use accessibility::AccessibilityAdapterState;pub use accessibility::AccessibilityAdapterTargetKind;pub use accessibility::AccessibilityAdapterTargetSummary;pub use accessibility::AccessibilityAnnouncement;pub use accessibility::AccessibilityCapabilities;pub use accessibility::AccessibilityFocusTrapState;pub use accessibility::AccessibilityLiveRegionEntry;pub use accessibility::AccessibilityLiveRegionSnapshot;pub use accessibility::AccessibilityPreferences;pub use accessibility::AccessibilityRequestKind;pub use accessibility::FocusRestoreTarget;pub use accessibility::FocusTrap;pub use accessibility::HeadlessAccessibilityAdapter;pub use actions::action_target_enabled;pub use actions::keyboard_activation_key;pub use actions::WidgetAction;pub use actions::WidgetActionBinding;pub use actions::WidgetActionId;pub use actions::WidgetActionKind;pub use actions::WidgetActionMode;pub use actions::WidgetActionQueue;pub use actions::WidgetActionTrigger;pub use actions::WidgetActivation;pub use actions::WidgetDrag;pub use actions::WidgetDragPhase;pub use actions::WidgetFocusChange;pub use actions::WidgetPointerEdit;pub use actions::WidgetSelection;pub use actions::WidgetTextEdit;pub use actions::WidgetValueEditPhase;pub use assets::AssetRegistry;pub use assets::BuiltInIcon;pub use assets::IconAsset;pub use assets::IconButtonAsset;pub use assets::IconDescriptor;pub use assets::ImageDescriptor;pub use charts::ChartAxisMeta;pub use charts::ChartAxisOrientation;pub use charts::ChartAxisTick;pub use charts::ChartDataSummary;pub use charts::ChartHitCollection;pub use charts::ChartHitKind;pub use charts::ChartHitMeta;pub use charts::ChartOverlayKind;pub use charts::ChartOverlayLayer;pub use charts::ChartOverlayStack;pub use charts::ChartRange;pub use charts::ChartSample;pub use charts::ChartSelectionSummary;pub use charts::ChartSeriesId;pub use charts::ChartViewport;pub use charts::GridCell;pub use charts::GridCellRange;pub use charts::GridMapCellMeta;pub use charts::GridMapGeometry;pub use charts::GridMapSummary;pub use charts::SparklineGeometry;pub use commands::Command;pub use commands::CommandEffect;pub use commands::CommandEffectInvocation;pub use commands::CommandId;pub use commands::CommandMeta;pub use commands::CommandRegistry;pub use commands::CommandRegistryError;pub use commands::CommandScope;pub use commands::Shortcut;pub use commands::ShortcutBinding;pub use commands::ShortcutConflict;pub use compositor::plan_render_feature_fallbacks;pub use compositor::sort_layers_for_paint;pub use compositor::topmost_layer_at;pub use compositor::AffineTransform;pub use compositor::BlendMode;pub use compositor::ColorManagementLevel;pub use compositor::CompositorClip;pub use compositor::CompositorFilter;pub use compositor::CompositorFilterKind;pub use compositor::CompositorLayer;pub use compositor::CompositorLayerId;pub use compositor::CompositorMask;pub use compositor::CompositorScene;pub use compositor::FeatureFallbackAction;pub use compositor::FeatureSupportLevel;pub use compositor::MaskMode;pub use compositor::OffscreenIsolation;pub use compositor::OffscreenReason;pub use compositor::RenderFeature;pub use compositor::RenderFeaturePlan;pub use compositor::RenderFeaturePlanItem;pub use compositor::RenderFeatureRequirement;pub use compositor::RenderFeatureSupport;pub use compositor::StackingContext;pub use compositor::StackingContextId;pub use compositor::SubpixelTextPolicy;pub use debug::layout_snapshot_dump;pub use debug::DebugGestureKind;pub use debug::DebugGestureState;pub use debug::DebugHitCandidate;pub use debug::DebugHitTrace;pub use debug::DebugOverlayContext;pub use debug::DebugOverlayNode;pub use debug::DebugOverlayOptions;pub use debug::DebugOverlaySnapshot;pub use debug::DebugPaintDump;pub use debug::DebugPaintItem;pub use debug::DebugPaintKindCount;pub use debug::DebugPaintStats;pub use debug::DebugThemeComponentState;pub use debug::DebugThemeScopeInfo;pub use debug::DebugThemeSnapshot;pub use debug::DebugThemeToken;pub use debug::DebugThemeTokenKind;pub use diagnostics::node_label;pub use diagnostics::overlay_label;pub use diagnostics::required_cache_diagnostic_kinds;pub use diagnostics::required_pipeline_stages;pub use diagnostics::widget_action_label;pub use diagnostics::AccessibilityOutputDiagnostic;pub use diagnostics::AccessibilityRequestDiagnostic;pub use diagnostics::AccessibilityResponseDiagnostic;pub use diagnostics::CacheDiagnostic;pub use diagnostics::CacheDiagnosticKind;pub use diagnostics::DiagnosticCategory;pub use diagnostics::DiagnosticMessage;pub use diagnostics::DiagnosticRecord;pub use diagnostics::DiagnosticReport;pub use diagnostics::DiagnosticSeverity;pub use diagnostics::DiagnosticSummaryRecord;pub use diagnostics::DirtyFlagsDiagnostic;pub use diagnostics::FramePipelineSection;pub use diagnostics::FramePipelineStage;pub use diagnostics::FramePipelineTiming;pub use diagnostics::GeometryHitDiagnostic;pub use diagnostics::InputRoutingDiagnostic;pub use diagnostics::OverlayEntryDiagnostic;pub use diagnostics::OverlayRoutingDiagnostic;pub use diagnostics::OverlayStackDiagnostic;pub use diagnostics::PerformanceCacheDiagnostic;pub use diagnostics::PerformanceSnapshot;pub use diagnostics::PerformanceSnapshotDiagnostic;pub use diagnostics::RenderTimingDiagnostic;pub use diagnostics::RenderTimingSectionDiagnostic;pub use diagnostics::WidgetActionDiagnostic;pub use display::DisplayListId;pub use display::DisplayListInvalidation;pub use display::DisplayListInvalidationReport;pub use display::DisplayListInvalidationRequest;pub use display::DisplayListKey;pub use display::DisplayListKind;pub use display::DisplayListReuseOutcome;pub use display::DisplayListReuseReport;pub use display::DisplayListScope;pub use display::RetainedDisplayList;pub use display::RetainedDisplayListCache;pub use drag_drop::payload_has_content;pub use drag_drop::DragDropSurfaceKind;pub use drag_drop::DragSourceDescriptor;pub use drag_drop::DragSourceId;pub use drag_drop::DropPayloadFilter;pub use drag_drop::DropTargetDescriptor;pub use drag_drop::DropTargetHit;pub use drag_drop::DropTargetId;pub use editor::generate_ruler_ticks;pub use editor::CurveEditorGeometry;pub use editor::CurveInterpolation;pub use editor::CurvePoint;pub use editor::CurveSegment;pub use editor::EditorAccessibleTarget;pub use editor::EditorAxisRange;pub use editor::EditorCursor;pub use editor::EditorHitId;pub use editor::EditorHitKind;pub use editor::EditorHitTarget;pub use editor::EditorHitTest;pub use editor::EditorHitTester;pub use editor::EditorOverlay;pub use editor::EditorOverlayStack;pub use editor::EditorSurfaceAccessibility;pub use editor::EditorSurfaceId;pub use editor::EditorSurfaceState;pub use editor::EditorToolId;pub use editor::EditorToolMode;pub use editor::EditorTransform;pub use editor::LaneGeometry;pub use editor::LaneTimelineGeometry;pub use editor::LaneValueGeometry;pub use editor::LaneValueRange;pub use editor::LaneValueRangeItem;pub use editor::MarqueeSelection;pub use editor::RulerTickConfig;pub use editor::SnapGrid;pub use editor::TimelineGeometry;pub use editor::TimelineRangeItem;pub use editor::TimelineRangeItemEdge;pub use editor::TimelineRangeItemGeometry;pub use editor::VisibleLaneRange;pub use effective_geometry::accessibility_bounds;pub use effective_geometry::clipped_visible_rect;pub use effective_geometry::effective_geometry_records;pub use effective_geometry::effective_hit_test_records;pub use effective_geometry::topmost_effective_hit;pub use effective_geometry::transformed_bounds;pub use effective_geometry::EffectiveAccessibilityBounds;pub use effective_geometry::EffectiveAccessibilityBoundsSource;pub use effective_geometry::EffectiveClip;pub use effective_geometry::EffectiveGeometry;pub use effective_geometry::EffectiveGeometryRecord;pub use effective_geometry::EffectiveHit;pub use effective_geometry::EffectiveHitEligibility;pub use effective_geometry::EffectiveHitRejection;pub use effective_geometry::EffectiveTransform;pub use errors::classify_platform_error;pub use errors::classify_render_error;pub use errors::ErrorContext;pub use errors::ErrorDomain;pub use errors::ErrorKind;pub use errors::ErrorReport;pub use errors::ErrorSeverity;pub use errors::FallbackAction;pub use errors::FallbackDecision;pub use errors::FallbackScope;pub use errors::PlatformErrorKind;pub use errors::RendererErrorKind;pub use errors::ResourceErrorKind;pub use errors::RuntimeErrorKind;pub use errors::UiErrorKind;pub use fonts::CachedFontFace;pub use fonts::FontCachePolicy;pub use fonts::FontEvictionCandidate;pub use fonts::FontEvictionPlan;pub use fonts::FontFaceDescriptor;pub use fonts::FontFaceId;pub use fonts::FontFallbackAttempt;pub use fonts::FontFallbackResolution;pub use fonts::FontFallbackStack;pub use fonts::FontFamilyId;pub use fonts::FontGeneration;pub use fonts::FontLifecycleIssue;pub use fonts::FontLifecycleOutcome;pub use fonts::FontLifecycleReport;pub use fonts::FontLoadStatus;pub use fonts::FontRegistry;pub use fonts::FontSourceDescriptor;pub use forms::AccessibleErrorSummaryRecord;pub use forms::FieldId;pub use forms::FieldState;pub use forms::FieldValidationRequest;pub use forms::FieldValidationResult;pub use forms::FormId;pub use forms::FormPhase;pub use forms::FormState;pub use forms::FormValidationRequest;pub use forms::FormValidationResult;pub use forms::ValidationApplyDisposition;pub use forms::ValidationGeneration;pub use forms::ValidationMessage;pub use forms::ValidationSeverity;pub use host::process_document_frame;pub use host::process_shell_frame;pub use host::text_input_id_for_node;pub use host::HostAccessibilityState;pub use host::HostAdapter;pub use host::HostAdapterError;pub use host::HostCommandDispatch;pub use host::HostDocumentFrameOutput;pub use host::HostDocumentFrameRequest;pub use host::HostDocumentFrameState;pub use host::HostFrameOutput;pub use host::HostFrameRequest;pub use host::HostInteractionState;pub use host::HostNodeInteraction;pub use host::HostShellEvent;pub use host::HostShellFrameOutput;pub use host::HostShellFrameRequest;pub use host::HostShortcutRoute;pub use i18n::BidiPolicy;pub use i18n::DynamicLabelMeta;pub use i18n::LabelUpdatePolicy;pub use i18n::LayoutMirrorMode;pub use i18n::LocaleId;pub use i18n::LocaleIdentifierError;pub use i18n::LocalizationPolicy;pub use i18n::ResolvedTextDirection;pub use i18n::TextDirection;pub use input::DragGesture;pub use input::GestureEvent;pub use input::GesturePhase;pub use input::GestureSettings;pub use input::PointerButton;pub use input::PointerButtons;pub use input::PointerCapture;pub use input::PointerClick;pub use input::PointerEventKind;pub use input::PointerGestureTracker;pub use input::PointerId;pub use input::PointerKind;pub use input::RawInputEvent;pub use input::RawKeyboardEvent;pub use input::RawPointerEvent;pub use input::RawTextInputEvent;pub use input::RawWheelEvent;pub use input::WheelDeltaUnit;pub use input::WheelPhase;pub use input_devices::classify_touch_gesture;pub use input_devices::route_cancel_for_capture;pub use input_devices::route_stylus_metadata;pub use input_devices::CancelCaptureRouteReport;pub use input_devices::GamepadAxis;pub use input_devices::GamepadButton;pub use input_devices::GamepadDeviceId;pub use input_devices::GamepadInput;pub use input_devices::PointerCaptureInteraction;pub use input_devices::StylusButton;pub use input_devices::StylusContactPhase;pub use input_devices::StylusMetadata;pub use input_devices::StylusMetadataField;pub use input_devices::StylusMetadataSupport;pub use input_devices::StylusRouteReport;pub use input_devices::TouchGestureClassification;pub use input_devices::TouchGestureKind;pub use input_devices::TouchGesturePolicy;pub use input_devices::TouchGestureSample;pub use layout::ContainedFlowLayout;pub use layout::Layout;pub use layout::LayoutAlignment;pub use layout::LayoutDimension;pub use layout::LayoutDisplay;pub use layout::LayoutFlexDirection;pub use layout::LayoutFlexWrap;pub use layout::LayoutGap;pub use layout::LayoutInset;pub use layout::LayoutInsets;pub use layout::LayoutJustifyContent;pub use layout::LayoutLength;pub use layout::LayoutPosition;pub use layout::LayoutSize;pub use layout::LayoutSpacing;pub use limits::drag_payload_byte_len;pub use limits::truncate_str_to_byte_limit;pub use limits::validate_cache_budget;pub use limits::validate_drag_drop_payload;pub use limits::validate_font_bytes;pub use limits::validate_image_dimensions;pub use limits::validate_paste_payload;pub use limits::validate_resource_descriptor;pub use limits::validate_resource_id;pub use limits::validate_resource_update;pub use limits::validate_text_input;pub use limits::validate_texture_size;pub use limits::validate_virtualized_row_count;pub use limits::CacheBudgetAction;pub use limits::CacheBudgetDecision;pub use limits::DimensionLimit;pub use limits::InputLimitPolicy;pub use limits::LimitKind;pub use limits::LimitPolicy;pub use limits::LimitReport;pub use limits::LimitStatus;pub use limits::LimitValue;pub use limits::ResourceLimitPolicy;pub use navigation::next_enabled_item;pub use overlays::OverlayDismissOutcome;pub use overlays::OverlayDismissPolicy;pub use overlays::OverlayDismissReason;pub use overlays::OverlayEntry;pub use overlays::OverlayFocusRestoreRecord;pub use overlays::OverlayFocusRestoreTarget;pub use overlays::OverlayHitTestDecision;pub use overlays::OverlayId;pub use overlays::OverlayKind;pub use overlays::OverlayStack;pub use wgpu_renderer::WgpuCanvasContext;pub use wgpu_renderer::WgpuCanvasRenderPass;pub use wgpu_renderer::WgpuRenderer;pub use wgpu_renderer::WgpuSurfaceRenderer;pub use paint::AlignedStroke;pub use paint::CornerRadii;pub use paint::GradientStop;pub use paint::ImageAlignment;pub use paint::ImageFit;pub use paint::LinearGradient;pub use paint::PaintBrush;pub use paint::PaintEffect;pub use paint::PaintEffectKind;pub use paint::PaintImage;pub use paint::PaintPath;pub use paint::PaintRect;pub use paint::PaintText;pub use paint::PathFillRule;pub use paint::PathStrokeOptions;pub use paint::PathVerb;pub use paint::PixelSnapPolicy;pub use paint::StrokeAlignment;pub use paint::StrokeLineCap;pub use paint::StrokeLineJoin;pub use paint::TextHorizontalAlign;pub use paint::TextOverflow;pub use paint::TextVerticalAlign;pub use renderer::CanvasHitCollection;pub use renderer::CanvasHitTarget;pub use renderer::CanvasHostCaptureChange;pub use renderer::CanvasHostCaptureChangeKind;pub use renderer::CanvasHostCaptureId;pub use renderer::CanvasHostCapturePlan;pub use renderer::CanvasHostCaptureState;pub use renderer::CanvasHostCaptureTransition;pub use renderer::CanvasRenderContext;pub use renderer::CanvasRenderHandler;pub use renderer::CanvasRenderOutcome;pub use renderer::CanvasRenderOutput;pub use renderer::CanvasRenderRegistry;pub use renderer::CanvasRenderReport;pub use renderer::CanvasRenderRequest;pub use renderer::DirtyRegionSet;pub use renderer::ImageRenderContext;pub use renderer::ImageRenderHandler;pub use renderer::ImageRenderKind;pub use renderer::ImageRenderOutcome;pub use renderer::ImageRenderOutput;pub use renderer::ImageRenderRegistry;pub use renderer::ImageRenderReport;pub use renderer::ImageRenderRequest;pub use renderer::PaintBatch;pub use renderer::PaintBatchKey;pub use renderer::PaintBatchKind;pub use renderer::PaintBatcher;pub use renderer::PixelRect;pub use renderer::RenderError;pub use renderer::RenderFrameOutput;pub use renderer::RenderFrameRequest;pub use renderer::RenderOptions;pub use renderer::RenderTarget;pub use renderer::RenderTargetKind;pub use renderer::RenderedImage;pub use renderer::RendererAdapter;pub use renderer::ResourceDescriptor;pub use renderer::ResourceFormat;pub use renderer::ResourceResolver;pub use renderer::ResourceUpdate;pub use resource_cache::resource_descriptor_byte_len;pub use resource_cache::validate_resource_update as validate_resource_cache_update;pub use resource_cache::validate_resource_update_with_descriptor as validate_resource_cache_update_with_descriptor;pub use resource_cache::CachedResource;pub use resource_cache::ResourceCache;pub use resource_cache::ResourceCachePolicy;pub use resource_cache::ResourceEvictionCandidate;pub use resource_cache::ResourceEvictionPlan;pub use resource_cache::ResourceEvictionReason;pub use resource_cache::ResourceEvictionReport;pub use resource_cache::ResourceLifecycleOutcome;pub use resource_cache::ResourceUpdateIssue;pub use resource_cache::ResourceUpdateKind;pub use resource_cache::ResourceUpdateReport;pub use resource_cache::ResourceUpdateValidation;pub use runtime::native::run_app;pub use runtime::native::run_app_with;pub use runtime::native::run_app_with_canvas_renderers;pub use runtime::native::run_app_with_canvas_renderers_and_hooks;pub use runtime::native::run_ui_document;pub use runtime::native::run_ui_document_with;pub use runtime::native::run_ui_document_with_canvas_renderers;pub use runtime::native::NativeKeyboardInput;pub use runtime::native::NativeWgpuCanvasRenderContext;pub use runtime::native::NativeWgpuCanvasRenderHandler;pub use runtime::native::NativeWgpuCanvasRenderRegistry;pub use runtime::native::NativeWindowHooks;pub use runtime::native::NativeWindowMetrics;pub use runtime::native::NativeWindowOptions;pub use runtime::native::NativeWindowResult;pub use runtime::coalesce_repaint_requests;pub use runtime::collect_repaint_requests;pub use runtime::completed_platform_response;pub use runtime::RuntimeFrameClock;pub use runtime::RuntimeFramePhase;pub use runtime::RuntimeFramePlan;pub use runtime::RuntimeInvalidation;pub use runtime::RuntimeInvalidationReason;pub use runtime::RuntimeLoopGuard;pub use runtime::RuntimeLoopState;pub use runtime::RuntimePhaseTrace;pub use runtime::RuntimeRepaintScheduler;pub use runtime::RuntimeSurfaceId;pub use runtime::RuntimeWindowEvent;pub use runtime::RuntimeWindowId;pub use scrolling::apply_scroll_anchor;pub use scrolling::arbitrate_nested_scroll;pub use scrolling::content_viewport_rect;pub use scrolling::resolve_scroll_attachment;pub use scrolling::resolve_scroll_delta;pub use scrolling::resolve_sticky_rect;pub use scrolling::reveal_rect_into_view;pub use scrolling::scrollbar_thumb_rect;pub use scrolling::step_kinetic_scroll;pub use scrolling::synchronize_scroll_surfaces;pub use scrolling::FixedConstraints;pub use scrolling::KineticScrollConfig;pub use scrolling::KineticScrollState;pub use scrolling::KineticScrollStep;pub use scrolling::NestedScrollCandidate;pub use scrolling::NestedScrollPlan;pub use scrolling::NestedScrollStep;pub use scrolling::OverscrollBehavior;pub use scrolling::OverscrollPolicy;pub use scrolling::ProgrammaticScrollBehavior;pub use scrolling::RevealAlignment;pub use scrolling::RevealOptions;pub use scrolling::RevealScrollPlan;pub use scrolling::ScrollAnchorAdjustment;pub use scrolling::ScrollAnchorCandidate;pub use scrolling::ScrollAttachment;pub use scrolling::ScrollAttachmentMode;pub use scrolling::ScrollAttachmentResolution;pub use scrolling::ScrollAxis;pub use scrolling::ScrollInsets;pub use scrolling::ScrollSyncMode;pub use scrolling::ScrollSyncPlan;pub use scrolling::ScrollSyncSurface;pub use scrolling::ScrollSyncUpdate;pub use scrolling::ScrollbarPolicy;pub use scrolling::ScrollbarVisibility;pub use scrolling::StickyConstraints;pub use scrolling::StickyEdges;pub use shell::build_shell_document;pub use shell::DockPlacement;pub use shell::PersistentSplitState;pub use shell::ScrollSyncAxes;pub use shell::ScrollSyncGroup;pub use shell::ScrollSyncMember;pub use shell::ShellBarCluster;pub use shell::ShellBarItem;pub use shell::ShellBarItemLayout;pub use shell::ShellBarItemRole;pub use shell::ShellBarLayoutPlan;pub use shell::ShellBarLayoutSpacing;pub use shell::ShellBarOverflowItem;pub use shell::ShellBarOverflowPolicy;pub use shell::ShellDocumentNodes;pub use shell::ShellDocumentOptions;pub use shell::ShellExtent;pub use shell::ShellLayoutPlan;pub use shell::ShellNumericReadout;pub use shell::ShellPanelDocumentNode;pub use shell::ShellPanelLayout;pub use shell::ShellPanelState;pub use shell::ShellRegion;pub use shell::ShellRegionDocumentNode;pub use shell::ShellRegionLayout;pub use shell::ShellWorkspaceState;pub use shell::SplitPaneSide;pub use state::RetainedWidgetStateEntry;pub use state::RetainedWidgetStateStore;pub use state::WidgetEditState;pub use state::WidgetFocusState;pub use state::WidgetHoverState;pub use state::WidgetId;pub use state::WidgetKey;pub use state::WidgetOverlayState;pub use state::WidgetPressedState;pub use state::WidgetStateError;pub use state::WidgetStateInvalidationSummary;pub use state::WidgetStateKey;pub use state::WidgetStateLifecycleItem;pub use state::WidgetStateLifecycleOutcome;pub use state::WidgetStateLifecycleReport;pub use state::WidgetStateRetention;pub use state::WidgetStateScope;pub use state::WidgetStateSlotDescriptor;pub use state::WidgetStateSlotId;pub use state::WidgetStateSlotKind;pub use state::WidgetStateUpdateReport;pub use state::WidgetStateValue;pub use tasks::TaskError;pub use tasks::TaskGeneration;pub use tasks::TaskHandle;pub use tasks::TaskId;pub use tasks::TaskInvalidationSummary;pub use tasks::TaskLifecycleReport;pub use tasks::TaskProgress;pub use tasks::TaskRegistry;pub use tasks::TaskResultDisposition;pub use tasks::TaskState;pub use tasks::TaskStatus;pub use testing::diff_rgba8;pub use testing::AccessibilityAssertions;pub use testing::AccessibilityRequestAssertions;pub use testing::AuditAssertions;pub use testing::CommandReplayReport;pub use testing::CommandReplayStepResult;pub use testing::DirtyFlags;pub use testing::DisplayListInvalidationAssertions;pub use testing::DisplayListReuseAssertions;pub use testing::DisplayListReuseSeries;pub use testing::DisplayListReuseSeriesAssertions;pub use testing::EmptyResourceResolver;pub use testing::EventReplay;pub use testing::EventReplayReport;pub use testing::EventReplayStep;pub use testing::EventReplayStepResult;pub use testing::FrameTiming;pub use testing::FrameTimingAssertions;pub use testing::FrameTimingSection;pub use testing::FrameTimingSeries;pub use testing::FrameTimingSeriesAssertions;pub use testing::LayoutAssertions;pub use testing::PaintAssertions;pub use testing::PaintKindSelector;pub use testing::PaintRecorderRenderer;pub use testing::PerformanceAssertions;pub use testing::PerformanceSamples;pub use testing::PixelDiffReport;pub use testing::PixelDiffTolerance;pub use testing::PlatformAssertions;pub use testing::RenderAssertions;pub use testing::RenderOutputAssertions;pub use testing::ReplayInput;pub use testing::RgbaImageView;pub use testing::ScenarioFrameReport;pub use testing::ScenarioHarness;pub use testing::SnapshotAssertions;pub use testing::TestFailure;pub use testing::TestResult;pub use theme::color_with_alpha;pub use theme::text_style_with_color;pub use theme::text_style_with_scale;pub use theme::ColorTokens;pub use theme::ComponentIconStates;pub use theme::ComponentLayoutTokens;pub use theme::ComponentRole;pub use theme::ComponentState;pub use theme::ComponentStateSlot;pub use theme::ComponentStyle;pub use theme::ComponentTextStates;pub use theme::ComponentTokens;pub use theme::ComponentVisualStates;pub use theme::EffectTokens;pub use theme::IconStyle;pub use theme::LayerEffect;pub use theme::LayerEffectKind;pub use theme::MotionCurve;pub use theme::MotionTokens;pub use theme::OpacityTokens;pub use theme::RadiusTokens;pub use theme::ScopedThemeRegistry;pub use theme::SpacingTokens;pub use theme::StrokeTokens;pub use theme::Theme;pub use theme::ThemePatch;pub use theme::ThemeScope;pub use theme::ThemeScopeError;pub use theme::ThemeScopeId;pub use theme::ThemeScopeKind;pub use theme::TypographyTokens;pub use theme::OPERAD_DARK_THEME_NAME;pub use theme_stability::stable_theme_token_categories;pub use theme_stability::theme_feature_stability;pub use theme_stability::theme_scope_stability;pub use theme_stability::theme_token_stability;pub use theme_stability::ThemeScopeStability;pub use theme_stability::ThemeStabilityScope;pub use theme_stability::ThemeTokenCategory;pub use theme_stability::ThemeTokenStability;pub use theme_stability::THEME_FEATURE_STABILITY;pub use theme_stability::THEME_SCOPE_STABILITY;pub use theme_stability::THEME_TOKEN_STABILITY;pub use tooltips::resolve_tooltip_dismissal;pub use tooltips::resolve_tooltip_request;pub use tooltips::AccessibleHelpText;pub use tooltips::CommandTooltip;pub use tooltips::CommandTooltipResolver;pub use tooltips::ContextMenuRequest;pub use tooltips::ContextMenuResolution;pub use tooltips::ContextMenuSuppressedReason;pub use tooltips::ContextMenuTrigger;pub use tooltips::HelpDismissReason;pub use tooltips::HelpItemState;pub use tooltips::HelpOverlayRecord;pub use tooltips::HelpTimingPolicy;pub use tooltips::ShortcutDisplayPlatform;pub use tooltips::ShortcutFormatter;pub use tooltips::TooltipAnchor;pub use tooltips::TooltipContent;pub use tooltips::TooltipInvocationKind;pub use tooltips::TooltipPlacement;pub use tooltips::TooltipRequest;pub use tooltips::TooltipResolution;pub use tooltips::TooltipVisibility;pub use tooltips::ValidationHelp;pub use tooltips::ValidationHelpSeverity;pub use transactions::EditTransaction;pub use transactions::EditTransactionPhase;pub use transactions::SelectionMode;pub use transactions::SelectionModel;pub use transactions::SelectionMovement;pub use transactions::TextEditChange;pub use transactions::TextEditHistory;pub use transactions::TextEditHistoryApply;pub use transactions::TextEditHistoryDirection;pub use transactions::TextEditRecord;pub use transactions::TextEditTransaction;pub use transactions::TransactionError;pub use transactions::TransactionId;pub use transactions::TransactionTarget;pub use transactions::TransactionWidgetId;pub use transactions::UndoRedoCommandDescriptors;pub use versioning::ApiStability;pub use versioning::ApiStabilityMarker;pub use versioning::ApiStatus;pub use versioning::BackendSpecific;pub use versioning::Experimental;pub use versioning::FeatureStability;pub use versioning::MigrationOnly;pub use versioning::StabilityNote;pub use versioning::Stable;pub use virtualization::plan_virtualized_range;pub use virtualization::virtual_offset_for_index;pub use virtualization::virtual_scroll_anchor_adjustment;pub use virtualization::VirtualAccessibilityRecord;pub use virtualization::VirtualAxis;pub use virtualization::VirtualCollectionKind;pub use virtualization::VirtualExtent;pub use virtualization::VirtualFocusPreservation;pub use virtualization::VirtualItemKey;pub use virtualization::VirtualItemPlan;pub use virtualization::VirtualMeasuredExtent;pub use virtualization::VirtualOverscan;pub use virtualization::VirtualPlan;pub use virtualization::VirtualPlanRequest;pub use virtualization::VirtualScrollAnchor;pub use virtualization::VirtualScrollAnchorAdjustment;pub use virtualization::VirtualSelectionPreservation;pub use virtualization::VirtualStickyEdge;pub use virtualization::VirtualStickyRegion;pub use windows::DocumentId;pub use windows::OverlayId as WindowOverlayId;pub use windows::OverlayOwner;pub use windows::RenderSurfaceOwner;pub use windows::RoutedRenderTarget;pub use windows::RoutedWindowEvent;pub use windows::SurfaceId;pub use windows::WindowDocumentTarget;pub use windows::WindowId;pub use windows::WindowRouteEventKind;pub use windows::WindowRouteRejection;pub use windows::WindowRouter;pub use windows::WindowRoutingState;pub use windows::WindowRoutingSummary;pub use core::document::*;
Modules§
- accessibility
- Backend-facing accessibility contracts.
- actions
- Renderer-neutral widget action events.
- adapters
- Optional host, renderer, and platform adapter integrations.
- assets
- Renderer-neutral icon and image asset registry contracts.
- charts
- Renderer-neutral chart, sparkline, and dense grid-map geometry helpers.
- commands
- Command metadata and keyboard shortcut routing primitives.
- compositor
- Backend-neutral compositor and layer contracts.
- core
- Core retained UI contracts.
- debug
- Renderer-neutral debug snapshots and dumps.
- diagnostics
- Diagnostics, error, limit, and test-support APIs.
- display
- Retained display-list cache contracts for static and semi-static surfaces.
- domain
- Higher-level reusable UI domains.
- drag_
drop - Renderer-neutral drag/drop surface metadata.
- editor
- Renderer-neutral editor surface geometry and interaction helpers.
- effective_
geometry - Backend-neutral effective geometry contracts.
- errors
- Structured error classification and local fallback contracts.
- fonts
- Backend-neutral font lifecycle and cache accounting.
- forms
- Form and validation lifecycle contracts.
- host
- Host adapter contracts for pre-paint interaction state.
- i18n
- Locale, text-direction, and dynamic label policy primitives.
- input
- Renderer-neutral raw input and gesture routing primitives.
- input_
devices - Higher-level input device policy contracts.
- interaction
- Backend-neutral input and interaction contracts.
- layout
- Operad-owned public layout primitives.
- limits
- Resource and input limit policies with non-panicking validation reports.
- navigation
- Backend-neutral keyboard navigation contracts for composite widgets.
- overlays
- Shared overlay stack model for popovers, menus, dialogs, and tooltips.
- paint
- Renderer-neutral paint primitives for dense application and editor surfaces.
- platform
- Backend-neutral platform contracts for Operad adapters.
- prelude
- Common Operad imports for application code.
- render
- Backend-neutral rendering and display-list contracts.
- renderer
- Renderer/backend adapter contracts for Operad paint lists.
- resource_
cache - Backend-neutral resource lifecycle and cache accounting.
- runtime
- Backend-neutral runtime and frame scheduling contracts.
- scrolling
- Backend-neutral contracts for advanced scrolling behavior.
- shell
- Persistable app-shell and workspace state contracts.
- state
- Backend-neutral retained widget state and lifecycle reconciliation.
- tasks
- Backend-neutral async task lifecycle contracts.
- testing
- Renderer-neutral testing helpers for Operad documents.
- theme
- Backend-neutral theme tokens for Operad v3.
- theme_
stability - Stability records for v5 theme and design-token APIs.
- tooltips
- Tooltip and shortcut-display contracts for commands and compact controls.
- transactions
- Reusable edit transaction, selection, and text edit history primitives.
- versioning
- Public API stability and feature-versioning markers.
- virtualization
- Backend-neutral virtualization contracts for large retained collections.
- wgpu_
renderer - widgets
- windows
- Backend-neutral multi-window routing state.