Skip to main content

get_pyfn_attr

Function get_pyfn_attr 

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

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

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