Test generics and other things

This commit is contained in:
Werner
2022-05-22 13:41:48 -03:00
parent acb22d7ce6
commit ced258e5c5
16 changed files with 283 additions and 32 deletions

4
Source/Function.rs Normal file
View File

@ -0,0 +1,4 @@
pub trait Function<Args = ()>: Send + Sync + 'static {
type Result;
fn Invoke(&self, args: Args) -> Self::Result;
}