Enum member isCallableAsSystem
Detect whether T is callable as a System.
enum isCallableAsSystem(T...)
= true;
If T is callable as a System, use System to construct a SystemGenerator from the function.
Satisfaction Requirements
TMUST satisfyisCallable.TMUST returnvoid.- All of
T's parameters MUST match one of: - Any Basic Data Type, e.g.
bool,int,uint,float,double,char, etc. - Any array type derived from a Basic Data Type, e.g.
int[],float[],string[], etc. - Any string type, e.g.
string,char[],wchar[], etc. - Any
structtype WorldResourcesWindowor any of its derivationsteraflopor any of its derivations.platform .input .event .InputEvent EntityComponentor any of its derivationsSystem, or- Any user-defined
classtype - All of
T's parameters MUST NOT use theimmutableStorage Class.Use
constinstead. - Certain parameters MUST use specific Storage Classes:
World,Resources,Window,Entity,Component, andSystemparameters MUST use thescopeStorage ClassWorld,Resources,Entity, andSystemparameters MUST use theconstStorage Class- The
refStorage Class MUST NOT be used with theconstStorage Class structandComponentparameters MAY use therefStorage Class