Structsยง
- DictVarkeywords 
- Marker struct which indicates unknown keywords should be collected into a PyDict.
- FunctionDescription 
- Function argument specification for a #[pyfunction]or#[pymethod].
- KeywordOnly Parameter Description 
- NoVarargs
- Marker struct which indicates varargs are not allowed.
- NoVarkeywords
- Marker struct which indicates unknown keywords are not permitted.
- TupleVarargs 
- Marker struct which indicates varargs should be collected into a PyTuple.
Traitsยง
- FunctionArgument Holder 
- Trait for types which can be a function argument holder - they should to be able to const-initialize to an empty value.
- PyFunctionArgument 
- A trait which is used to help PyO3 macros extract function arguments.
- VarargsHandler 
- A trait used to control whether to accept varargs in FunctionDescription::extract_argument_(method) functions.
- VarkeywordsHandler 
- A trait used to control whether to accept varkeywords in FunctionDescription::extract_argument_(method) functions.
Functionsยง
- argument_extraction_ ๐ปerror 
- Adds the argument name to the error message of an error which occurred during argument extraction.
- extract_argument ๐ป
- The standard implementation of how PyO3 extracts a #[pyfunction]or#[pymethod]function argument.
- extract_argument_ ๐ปwith_ default 
- Alternative to extract_argumentused when the argument has a default value provided by an annotation.
- extract_optional_ ๐ปargument 
- Alternative to extract_argumentused forOption<T>arguments. This is necessary because Option<&T> does not implementPyFunctionArgumentforT: PyClass.
- extract_pyclass_ ref 
- extract_pyclass_ ref_ mut 
- from_py_ ๐ปwith 
- Alternative to extract_argumentused when the argument has a#[pyo3(from_py_with)]annotation.
- from_py_ ๐ปwith_ with_ default 
- Alternative to extract_argumentused when the argument has a#[pyo3(from_py_with)]annotation and also a default value.
- push_parameter_ ๐list 
- unwrap_required_ ๐ป โargument 
- Unwraps the Option<&PyAny> produced by the FunctionDescription extract_arguments_methods. They check if required methods are all provided.
Type Aliasesยง
- PyArg ๐
- Helper type used to keep implementation more concise.