3 ms·"static if", __traits, and mixin are the D equivalent of Rust's macros, more or less.by pcwalton 13y ago"static if", __traits, and mixin are the D equivalent of Rust's macros, more or less.