pyo3::impl_

Module pymethods

Source

Structs§

AsyncIterBaseTag
AsyncIterOptionTag
AsyncIterResultOptionTag
BoundRef
Used in #[classmethod] to pass the class object to the method and also in #[pyfunction(pass_module)].
IPowModuloPy_3_8
Python 3.8 and up - ipow has modulo argument correctly populated.
IterBaseTag
IterOptionTag
IterResultOptionTag
PyClassAttributeDef
PyGetterDef
PyMethodDef
PySetterDef

Enums§

PyMethodDefType
PyMethodDefType represents different types of Python callable objects. It is used by the #[pymethods] attribute.
PyMethodType

Traits§

AsyncIterBaseKind
AsyncIterOptionKind
AsyncIterResultOptionKind
IterBaseKind
IterOptionKind
IterResultOptionKind

Functions§

_call_clear
Calls an implementation of clear for tp_clear
_call_traverse 👻
Calls an implementation of traverse for tp_traverse
call_super_clear 🔒
Call super-type traverse method, if necessary.
call_super_traverse 🔒
Call super-type traverse method, if necessary.
tp_new_impl

Type Aliases§

Getter 🔒
Class getter / setters
PyClassAttributeFactory
Setter 🔒
ipowfunc
Helper to use as pymethod ffi definition
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here