Skip to main content

Module inspect

Module inspect 

Source
Available on crate feature experimental-inspect only.
Expand description

Runtime inspection of objects exposed to Python.

Tracking issue: https://github.com/PyO3/pyo3/issues/2454.

Structsยง

PyClassNameStaticExpr
The full name of a #[pyclass] inside a PyStaticExpr.

Enumsยง

PyStaticConstant
A PyO3 extension to the Python AST to know more about PyStaticExpr::Constant.
PyStaticExpr
A Python expression.
PyStaticOperator
An operator used in PyStaticExpr::BinOp.

Functionsยง

fmt_elements ๐Ÿ”’
serialize_for_introspection ๐Ÿ‘ป
Serialize the type for introspection and return the number of written bytes
serialized_container_len_for_introspection ๐Ÿ”’
serialized_len_for_introspection ๐Ÿ‘ป
Length required by serialize_for_introspection
write_container_and_move_forward ๐Ÿ”’
write_expr_and_move_forward ๐Ÿ”’
write_json_string_and_move_forward ๐Ÿ”’
write_slice_and_move_forward ๐Ÿ”’
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here