Function pyo3_macros_backend::get_doc
source · [−]pub fn get_doc(
attrs: &[Attribute],
text_signature: Option<(&Ident, &KeywordAttribute<text_signature, LitStr>)>
) -> PythonDoc
Expand description
Collects all #[doc = “…”] attributes into a TokenStream evaluating to a null-terminated string e.g. concat!(“…”, “\n”, “\0”)