Example of a Rule
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 );
See Implementation
Example of a Rule