From e1b8f6bc80c361070265484fcc442f7923523c1e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 20 Jun 2026 00:17:21 +0800 Subject: Move to_chain and to_render to Groupped trait --- mingling_macros/src/groupped.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'mingling_macros/src/groupped.rs') diff --git a/mingling_macros/src/groupped.rs b/mingling_macros/src/groupped.rs index 534e2a6..03f0b9c 100644 --- a/mingling_macros/src/groupped.rs +++ b/mingling_macros/src/groupped.rs @@ -92,18 +92,6 @@ fn build_any_output_convert_impls( ::mingling::AnyOutput::new(self).route_chain() } } - - impl #struct_name { - /// Converts the wrapper type into a `ChainProcess` for chaining operations. - pub fn to_chain(self) -> ::mingling::ChainProcess<#group_ident> { - ::mingling::AnyOutput::new(self).route_chain() - } - - /// Converts the wrapper type into a `ChainProcess` for rendering operations. - pub fn to_render(self) -> ::mingling::ChainProcess<#group_ident> { - ::mingling::AnyOutput::new(self).route_renderer() - } - } } .into() } -- cgit