summaryrefslogtreecommitdiff
path: root/mingling/src/program.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-29 14:06:50 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-29 14:06:50 +0800
commit5d91f0e9408e39afaa75f96b32c5ed7946a558f7 (patch)
tree01ded24e80c1f07067adc882d547a69773d43c6d /mingling/src/program.rs
parent7809a8cbfbaf41fcc81de980c903e11f08bd1b12 (diff)
Add fallback dispatcher for missing renderers.
Diffstat (limited to 'mingling/src/program.rs')
-rw-r--r--mingling/src/program.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling/src/program.rs b/mingling/src/program.rs
index 5e9d1f2..3394a38 100644
--- a/mingling/src/program.rs
+++ b/mingling/src/program.rs
@@ -81,6 +81,8 @@ where
pub trait ProgramCollect {
fn render(any: AnyOutput, r: &mut RenderResult);
fn do_chain(any: AnyOutput) -> Pin<Box<dyn Future<Output = ChainProcess> + Send>>;
+ fn has_renderer(any: &AnyOutput) -> bool;
+ fn has_chain(any: &AnyOutput) -> bool;
}
#[macro_export]