Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
get_doc in pyo3_macros_backend - Rust
[go: Go Back, main page]

pub fn get_doc(attrs: &[Attribute], text_signature: Option<String>) -> PythonDoc
Expand description

Collects all #[doc = “…”] attributes into a TokenStream evaluating to a null-terminated string.

If this doc is for a callable, the provided text_signature can be passed to prepend this to the documentation suitable for Python to extract this into the __text_signature__ attribute.