Skip to content

refactor(runtime): encapsulate HitState, ScrollTables, PointerState, KeyboardState, and TextInputState - #1273

Merged
Hona merged 1 commit into
devfrom
refactor-runtime-subsystem-privacy-input-scroll-edit
Nov 20, 2026
Merged

Hona merged 1 commit into
devfrom
refactor-runtime-subsystem-privacy-input-scroll-edit

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Encapsulates HitState, ScrollTables, PointerState, KeyboardState, and TextInputState inside RuntimeCore:

  • Adds 175 cohesive methods onto impl HitState, impl ScrollTables, impl PointerState, impl KeyboardState, and impl TextInputState, removing 41 methods from impl RuntimeCore.
  • Narrows 25 fields to private or pub(super) while preserving #[repr(C)], exact field order, #[inline] hot-path accessors, and identical size_of::<RuntimeCore>() (17,840 B).

@Hona
Hona merged commit 3c14d4f into dev Nov 20, 2026
1 check passed
@Hona
Hona deleted the refactor-runtime-subsystem-privacy-input-scroll-edit branch November 20, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant