Incular logoIncular
API Reference

API overview

Facade modules, features, and preludes — where every class lives.

Everything application-facing is reachable through the incular facade. Depend on leaf crates only to bypass it.

For generated Rust signatures and item-level documentation, use docs.rs/incular after publication, or run cargo doc --workspace --all-features --no-deps --open from a checkout.

Features

FeaturePurposeDefault
desktopNative runner + every WGPU backendYes
desktop-hostNative runner; pair with at least one backend belowVia desktop
dx12, metal, vulkan, glWGPU backends; each enables desktop-host, ignored where unavailableVia desktop
controlsIncular controls and visual slotsYes
materialMaterial presentation; enables controlsYes
devtoolsDiagnostics transport + instrumentationNo
hot-reloadLive code patching in debug builds under dx serve --hot-patchNo

Preludes

ImportContents
incular::preludeNeutral types: widgets, layout, text, runtime, animation, navigation, rendering (+ platform services with desktop)
incular::controls_preludeButton, Checkbox, Switch, Input, Card, ControlTheme, …
incular::material_preludeMaterialApp, Scaffold, buttons, dialogs, ThemeData, …

Namespaces

  • incular::scroll — ScrollController, ScrollPhysics, ScrollMetrics, and notifications
  • incular::reactive — Action, Effect, and Memo, kept distinct from widget names
  • incular::testing — Simulation, Screenshot
  • Top-level mirrors: animation, config, core, gestures, image, layout, navigation, rendering (alias painting), runtime, semantics, text, widgets; controls/material and platform/wgpu/OS runners are feature-gated.

Class index

On this page