diff --git a/src/func/register.rs b/src/func/register.rs index 3c5dd5be..0144eeba 100644 --- a/src/func/register.rs +++ b/src/func/register.rs @@ -72,7 +72,9 @@ pub fn by_value(data: &mut Dynamic) -> T { /// # Type Parameters /// /// * `ARGS` - a tuple containing parameter types, with `&mut T` represented by `Mut`. +/// * `NUM` - a constant generic containing the number of parameters, must be consistent with `ARGS`. /// * `RET` - return type of the function; if the function returns `Result`, it is the unwrapped inner value type. +/// * `RESULT` - a type to distinguish between multiple forms. Must match the function signature. pub trait RegisterNativeFunction { /// Convert this function into a [`CallableFunction`]. #[must_use]