added doc alias for intopy

This commit is contained in:
mejrs 2021-05-03 20:31:53 +02:00
parent 4c3cbcdde2
commit 40dd618c46
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ where
/// }
/// ```
/// Python code will see this as any of the `int`, `string` or `None` objects.
#[cfg_attr(docsrs, doc(alias = "IntoPyCallbackOutput"))]
pub trait IntoPy<T>: Sized {
/// Performs the conversion.
fn into_py(self, py: Python) -> T;