wrap_class

Wrap a class.

void
wrap_class
(
T
Params...
)
()

Parameters

T

The class being wrapped.

Params

Mixture of definitions of members of T to be wrapped and optional arguments.
Concerning optional arguments, accepts
PyName!(pyname) The name of the class as it will appear in Python. Defaults to T's name in D
ModuleName!(modulename): The name of the python module in which the wrapped class resides. Defaults to "".
Docstring!(docstring): The class's docstring. Defaults to "".

Meta