alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
  /**
   * Create a new {{ class_name }} instance.
   */
{% if param_sig %}
  static new({{ param_sig }}): {{ class_name }} {
    return new {{ class_name }}({{ args }});
  }
{% else %}
  static new(): {{ class_name }} {
    return new {{ class_name }}();
  }
{% endif %}