From 42326b7e1719970dd00ae848e4c4745e8e9cf63b Mon Sep 17 00:00:00 2001 From: REVO9 Date: Sat, 12 Sep 2026 13:37:03 +0200 Subject: [PATCH] derive Clone Debug and PartialEq for TypedFunction --- src/typed/function.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/typed/function.rs b/src/typed/function.rs index 754aa1c..a047a32 100644 --- a/src/typed/function.rs +++ b/src/typed/function.rs @@ -148,6 +148,7 @@ where /// Helper to bake the type information for a lua [`Function`][mlua::Function]. This makes repeated /// calls to the [`Function`][mlua::Function]'s [`call`][mlua::Function::call] all the same with /// enforced arguments and return types. +#[derive(Clone, Debug, PartialEq)] pub struct TypedFunction where Params: TypedMultiValue,