Function.setName

Set the function name.

struct Function
setName
(
string value
)

Examples

pure @nogc int answer();
mixin(refract!(answer, "answer").setName("ultimateAnswer").mixture);
static assert(
  __traits(getAttributes, ultimateAnswer) ==
  __traits(getAttributes, answer));

Meta