The type of the delegate.
The delegate to set.
The context pointer, e.g a pointer to a struct or a class instance.
The pointer to the static function.
struct Foo { bool fun(){return true;} } Foo foo; bool delegate() atFun; atFun.setDelegate(&foo, &Foo.fun); assert(atFun());
Sets the context and the function of a delegate.