1 2 3 4 5 6 7 8 9
{%- for attr in attrs %} #[{{ attr }}] {%- endfor %} impl {{ target }} { {%- for method in methods %} {{ method.replace('\n', '\n ') }} {%- endfor %} }