diff options
Diffstat (limited to 'mingling_macros')
| -rw-r--r-- | mingling_macros/src/groupped.rs | 12 | ||||
| -rw-r--r-- | mingling_macros/src/pack.rs | 24 |
2 files changed, 0 insertions, 36 deletions
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() } diff --git a/mingling_macros/src/pack.rs b/mingling_macros/src/pack.rs index 5a1c388..bf2536d 100644 --- a/mingling_macros/src/pack.rs +++ b/mingling_macros/src/pack.rs @@ -187,18 +187,6 @@ pub fn pack(input: TokenStream) -> TokenStream { mingling::AnyOutput::new(self).route_chain() } } - - impl #type_name { - /// Converts the wrapper type into a `ChainProcess` for chaining operations. - pub fn to_chain(self) -> mingling::ChainProcess<#group_name> { - mingling::AnyOutput::new(self).route_chain() - } - - /// Converts the wrapper type into a `ChainProcess` for rendering operations. - pub fn to_render(self) -> mingling::ChainProcess<#group_name> { - mingling::AnyOutput::new(self).route_renderer() - } - } }; let group_impl = quote! { @@ -234,18 +222,6 @@ pub fn pack(input: TokenStream) -> TokenStream { } } - impl #type_name { - /// Converts the wrapper type into a `ChainProcess` for chaining operations. - pub fn to_chain(self) -> mingling::ChainProcess<#group_name> { - mingling::AnyOutput::new(self).route_chain() - } - - /// Converts the wrapper type into a `ChainProcess` for rendering operations. - pub fn to_render(self) -> mingling::ChainProcess<#group_name> { - mingling::AnyOutput::new(self).route_renderer() - } - } - impl ::mingling::Groupped<#group_name> for #type_name { fn member_id() -> #group_name { #group_name::#type_name |
