EitherInt
This class represents a flexible integer container that can hold 64-bit signed or unsigned integers, arbitrary-precision integers, or a reference to a Python object. It provides a unified interface for handling various integer representations across the Rust and Python boundary.
Attributes
| Attribute | Type | Description |
|---|---|---|
| I64 | i64 | Stores a 64-bit signed integer value for standard numeric operations. |
| U64 | u64 | Stores a 64-bit unsigned integer value, though currently marked for potential internal use or future implementation. |
| BigInt | BigInt | Stores an arbitrary-precision integer for calculations exceeding the capacity of standard 64-bit types. |
| Py | Bound< 'py, PyAny > | Stores a reference to a generic Python object to allow interoperability with arbitrary Python-side numeric types. |