pub unsafe trait Arguments<const N: usize> {
    type Type: Any;

    fn matches(method: &MethodInfo) -> bool;
    fn invokable(&mut self) -> [*mut c_void; N];
}
Expand description

Trait implemented by types that can be used as a collection of C# method arguments

Note

You should most likely not be implementing this trait yourself

Safety

The implementation must be correct

Required Associated Types

Normalized type of the arguments, useful for caching

Required Methods

Checks whether the type can be used as a C# argument collection for the given MethodInfo

Returns an array of untyped pointer which can be used to invoke C# methods

Implementations on Foreign Types

Implementors