Expand description
Locale-aware numeric editing without model or widget dependencies.
Resolve a NumberLocale, then pass native events to NumberDraft::reduce.
Structs§
- Number
Draft - Owns one binding instance’s local draft and latest model display.
- Number
Locale - Owns the token vocabulary of one resolved decimal locale.
Enums§
- Draft
Effect - Describes the only externally observable side effect of a transition.
- Draft
Event - Carries synchronous native events or revision-tagged formatting replies.
- Normalized
Draft - Distinguishes a numeric prefix from a complete, representable canonical draft.
Functions§
- decode_
format_ reply - Decodes a formatter reply with its Rust-captured instance/revision stamp.
- decode_
locale_ reply - Decodes and validates a locale script reply without substituting defaults.
- format_
number_ script - Builds an eval script that formats concretely validated canonical text.
- normalize_
draft - Normalizes locale tokens without coercing integer values through floats.
- number_
locale_ script - Builds an eval script that sends a resolved locale or explicit locale failure.
- step_
number - Steps canonical text to the next zero-anchored multiple without clamping.