Re-exportsΒ§
pub use crate::maybe_define_fastcall_function_with_keywords;pub use crate::maybe_extract_arguments_fastcall;pub use crate::internal::pyclass_init::tp_new_resolver;
MacrosΒ§
- iter_
next_ πoutput
StructsΒ§
EnumsΒ§
- PyMethod
DefType PyMethodDefTyperepresents different types of Python callable objects. It is used by the#[pymethods]attribute.- PyMethod
Type
TraitsΒ§
- Async
Iter Next Convert Fallback - Async
Iter Next Type Fallback experimental-inspect - Iter
Next Convert Fallback - Iter
Next Type Fallback experimental-inspect
FunctionsΒ§
- _call_
clear β - Calls an implementation of clear for tp_clear
- call_
super_ π βclear - Call super-type traverse method, if necessary.
- call_
super_ π βtraverse - Call super-type traverse method, if necessary.
- synthesized_
clear β tp_clearfor a#[pyclass]which defines no__clear__of its own: calls the base type and clears the instance__dict__(if it is a#[pyclass(dict)]).- tp_
new_ βimpl - SAFETY
- tp_
traverse π» β - Calls an implementation of traverse for tp_traverse
- traverse_
impl π β - Visits the base type, the instance
__dict__and the pyclassβs own data, stopping as soon as one of them returns non-zero.
Type AliasesΒ§
- Deleter π
- Getter π
- Class getter / setters
- PyClass
Attribute Factory - Setter π