pyo3_macros_backend::module

Function get_pyfn_attr

Source
fn get_pyfn_attr(attrs: &mut Vec<Attribute>) -> Result<Option<PyFnArgs>>
Expand description

Extracts the data from the #[pyfn(…)] attribute of a function

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