MemberFunction

Wraps a member function of the class.

Supports default arguments, typesafe variadic arguments, and python's keyword arguments.

Members

Aliases

args
alias args = Args!("", "", __traits(identifier, fn), "", Options)
Undocumented in source.
fn_t
alias fn_t = args.rem[0]
Undocumented in source.
fn_t
alias fn_t = typeof(&fn)
Undocumented in source.

Mixins

__anonymous
mixin MemberFunctionImpl!(fn, args.pyname, fn_t, args.docstring)
Undocumented in source.

Parameters

fn

The member function to wrap.

Options

Optional parameters. Takes Docstring!(docstring), PyName!(pyname), and fn_t.

Meta