StaticDef

Wraps a static member function of the class. Similar to pyd.def.def

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 _StaticDef!(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