Expand description
Owns event-loop-confined models and publishes accepted cell views.
Construct a SheetOwner with a repeatable ModelFactory, submit canonical
CellEdit groups, and explicitly restore accepted history after rejection.
Enable action capture with SheetOwner::start_recording, persist shared
Recording values with serde, and replay them on fresh compatible models.
HostOutcome::RecordingFailed accepts the model transaction but stops the
recorder; do not roll accepted state back in response to that outcome.
Re-exports§
pub use widgets::CheckBox;pub use widgets::CheckBox;pub use widgets::EditNumber;pub use widgets::EditNumber;pub use widgets::EditSlider;pub use widgets::EditSlider;pub use widgets::EditText;pub use widgets::EditText;
Structs§
- Cell
Binding - Addresses one cell in one installation, never a later same-named replacement.
- Cell
Edit - Addresses an input by stable schema key and exact canonical scalar text.
- Cell
Flags - Publishes interaction state without treating derived cells as disabled.
- Cell
View - Publishes one accepted effective value and its editor capabilities.
- Recording
- Stores a compatible schema’s exact effective source values by stable key.
- Recovery
State - Retains accepted ordered input groups independently of any mutable model.
- Sheet
Event - Delivers a structured outcome after all enclosing model borrows end.
- Sheet
Handle - Shares a scope-owned model; copying a handle does not copy its model or journal.
- Sheet
Owner - Owns one event-loop-confined model, accepted journal, and immutable publication.
Enums§
- Binding
Error - Distinguishes key, editor, capability, and owner-lifetime failures.
- Capture
Error - Distinguishes capture capabilities, encoding, schema, and model availability.
- Host
Outcome - Returns every transaction outcome to the host without choosing recovery.
- Host
Rejection - Reports recoverable rejection without retaining the rejected candidate.
- Playback
Error - Preserves construction, input rejection, capture, and fatal playback categories.
- Update
Origin - Identifies feedback-loop policy without changing transaction acceptance.
Functions§
- Check
Box - Binds a controlled Boolean without guessing its value from a click or stale display.
- Edit
Number - Binds an exact localized numeric editor to a named numeric cell.
- Edit
Slider - Binds slider and exact numeric entry without clamping aspirations in the widget.
- Edit
Text - Binds exact scalar text without numeric coercion or synchronization writes.
- use_
sheet - Initializes one owner per mounted hook, including cached construction failure.
Type Aliases§
- Model
Factory - Reconstructs the same initialized schema on its owning event loop.