Skip to main content

Module pymethods

Module pymethods 

Source

Re-exports§

pub use crate::maybe_define_fastcall_function_with_keywords;
pub use crate::maybe_extract_arguments_fastcall;

Structs§

AsyncIterBaseTag
AsyncIterOptionTag
AsyncIterResultOptionTag
IterBaseTag
IterOptionTag
IterResultOptionTag
PyClassAttributeDef
PyDeleterDef
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§

Deleter 🔒
Getter 🔒
Class getter / setters
PyClassAttributeFactory
Setter 🔒
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here