aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker_macros/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-17 09:03:32 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-17 09:03:32 +0800
commited4b8dfc825b59012ad850d6c88067e7007962a2 (patch)
tree8f5f4cd9229fae5f088f9b23ca9607341a3b5468 /mingling_picker_macros/src/lib.rs
parentd77e8926dff6466f0c46ee4529dd9f7b9772ae99 (diff)
feat: add shorthand methods for fallback picker patterns
Introduce `pick_or`, `pick_or_default`, and `pick_or_route` methods on both `Picker` and existing patterns to combine picking with a fallback in a single call. Extract shared `PickerPattern1` construction into `Picker::build_pattern1`.
Diffstat (limited to 'mingling_picker_macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions