Expand description
Type inference helpers for Python → Rust parameter and assignment types.
Functions§
- infer_
assign_ type - Infer a Rust type annotation suffix for a simple assignment RHS.
- infer_
params - Infer Rust parameter types from a Python function’s argument list.
- infer_
type_ from_ annotation - Infer a Rust type string from a Python type annotation expression.
- render_
len_ checks - Emit Rust length-check guards for Vec parameters.