aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/renderer/structural/structural_data.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-15 02:56:59 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-15 02:56:59 +0800
commit10ace1c363e77f51b850aed92c4fe2628dd1e322 (patch)
treedb747bfb1c8322c0be4220070aacd7b76b0b4a92 /mingling_core/src/renderer/structural/structural_data.rs
parentdfbfde0ee1272783e2a6b7b7a17b12e5ad133d92 (diff)
feat(core): replace immediate output flag with print hook system
Refactor `RenderResult` to support multiple user-defined print hooks via a new `RenderResultPrint` struct containing content and output mode. Add `bind_print_hook()` for custom sinks and reimplement `immediate_output()` as a built-in hook. Update manual `Clone`, `PartialEq`, `Eq`, and `Debug` implementations since hooks are opaque closures.
Diffstat (limited to 'mingling_core/src/renderer/structural/structural_data.rs')
0 files changed, 0 insertions, 0 deletions