Rule

Example of a Rule

struct Rule {}

Examples

assert(isRule!Rule);
1 struct A
2 {
3     void applyRule() {}
4     void applyRuleReverse() {}
5 }
6 
7 static assert( isRule!A );
8 static assert(!isRule!string );

Meta