__traits(getAttributes, T)

Requires a type and a field is unfortunately not a type ;/

Reply via email to