pub type TextUnit = u32;Expand description
𝐓 Basic text-domain unit.
📍 text
TextUnit is the base primitive quantity used by text-related abstractions.
Depending on context, it may represent:
- positional magnitude in a text sequence
- inline extent or consumed space during layout
- other caller-defined text quantities
It has no inherent physical meaning and does not correspond directly to pixels, glyphs, or characters unless a downstream layer defines that interpretation.
More specific wrappers such as TextIndex refine this primitive into a stricter role.