pyd v0.14.3 (2022-03-12T16:12:50Z)
Home
Dub
Repo
_Property
pyd
class_wrap
Undocumented in source.
template
_Property (
alias
fn
string
pyname
string
_mode
string
docstring
) {
import
std
.
algorithm
:
countUntil
;
;
alias
parts
=
property_parts
!(
fn
,
_mode
)
;
mixin
_Member
!(
parts
.
nom
,
pyname
,
parts
.
mode
,
docstring
,
parts
)
;
template
shim
(size_t i, T)
;
alias
get_t
=
parts
.
getter_type
;
alias
set_t
=
parts
.
setter_type
;
static if
(!(
parts.isproperty
))
enum
realname
;
static if
(!(
parts.isproperty
))
enum
funcname
;
static if
(!(
parts.isproperty
))
enum
bool
needs_shim
;
static if
(!(
parts.isproperty
))
static
void
call
();
template
shim
(size_t i, T)
;
}
Members
Aliases
get_t
alias
get_t
=
parts
.
getter_type
Undocumented in source.
parts
alias
parts
=
property_parts
!(
fn
,
_mode
)
Undocumented in source.
set_t
alias
set_t
=
parts
.
setter_type
Undocumented in source.
Manifest constants
funcname
enum
funcname
;
Undocumented in source.
realname
enum
realname
;
Undocumented in source.
Mixins
__anonymous
mixin
_Member
!(
parts
.
nom
,
pyname
,
parts
.
mode
,
docstring
,
parts
)
Undocumented in source.
Static functions
call
void
call
()
Undocumented in source. Be warned that the author may not have intended to support it.
Templates
shim
template
shim
(size_t i, T)
Undocumented in source.
shim
template
shim
(size_t i, T)
Undocumented in source.
Variables
needs_shim
enum
bool
needs_shim
;
Undocumented in source.
Meta
Source
See Implementation
pyd
class_wrap
enums
IsOp
functions
IsPyAsg
IsPyBinary
IsPyUnary
autoInitializeMethods
getBinarySlot
init_PyTypeObject
wrap_class
manifest constants
binaryslots
unaryslots
mixin templates
_StaticDef
structs
BinaryOperatorX
Constructors
Def
DoNothing
IndexSliceMerge
Init
Iterator
OpAssign
OpCall
OpCompare
OpIndex
OpIndexAssign
OpSlice
OpSliceAssign
OpUnary
Operators
Property
Repr
StaticDef
_Len
property_parts
templates
IsAnySetter
IsBin
IsBinR
IsDef
IsGetter
IsInit
IsLen
IsOpIndex
IsOpIndexAssign
IsOpSlice
IsOpSliceAssign
IsProperty
IsSetter
IsUn
Len
OpBinary
OpBinaryRight
_Def
_Property
_wrap_class
param1
shim_class
wrapped_class_object
wrapped_get
wrapped_method_list
wrapped_methods
wrapped_prop_list
wrapped_repr
wrapped_set
variables
wrapped_classes