Trait pyo3::impl_::extract_argument::VarkeywordsHandler

source ·
pub trait VarkeywordsHandler<'py> {
    type Varkeywords: Default;

    // Required method
    fn handle_varkeyword(
        varkeywords: &mut Self::Varkeywords,
        name: Borrowed<'py, 'py, PyAny>,
        value: Borrowed<'py, 'py, PyAny>,
        function_description: &FunctionDescription
    ) -> PyResult<()>;
}
Expand description

A trait used to control whether to accept varkeywords in FunctionDescription::extract_argument_(method) functions.

Required Associated Types§

Required Methods§

source

fn handle_varkeyword( varkeywords: &mut Self::Varkeywords, name: Borrowed<'py, 'py, PyAny>, value: Borrowed<'py, 'py, PyAny>, function_description: &FunctionDescription ) -> PyResult<()>

Object Safety§

This trait is not object safe.

Implementors§

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here