Macrosยง
- bail_
spanned ๐ - Macro inspired by
anyhow::bail!
to return a compiler error with the given span. - ensure_
spanned ๐ - Macro inspired by
anyhow::ensure!
to return a compiler error with the given span if the specified condition is not met. - err_
spanned ๐ - Macro inspired by
anyhow::anyhow!
to create a compiler error with the given span.
Structsยง
Enumsยง
- Ident
OrStr ๐ - PyO3
Crate Path - Python
DocKind ๐
Functionsยง
- apply_
renaming_ rule - deprecated_
from_ ๐py_ with - get_doc
- Collects all #[doc = โโฆโ] attributes into a TokenStream evaluating to a null-terminated string.
- has_
attribute ๐ - has_
attribute_ ๐with_ namespace - is_
python - Check if the given type
ty
ispyo3::Python
. - option_
type_ argument - If
ty
isOption<T>
, returnSome(T)
, elseNone
. - unwrap_
ty_ group