pyo3

Module conversions

Source
Expand description

This module contains conversions between various Rust object and their representation in Python.

Modules§

anyhowanyhow
A conversion from anyhow’s Error type to PyErr.
chronochrono
Conversions to and from chrono’s Duration, NaiveDate, NaiveTime, DateTime<Tz>, FixedOffset, and Utc.
eithereither
Conversion to/from either’s Either type to a union of two Python types.
eyreeyre
A conversion from eyre’s Report type to PyErr.
hashbrownhashbrown
Conversions to and from hashbrown’s HashMap and HashSet.
indexmapindexmap
Conversions to and from indexmap’s IndexMap.
jiffjiff-01
Conversions to and from jiff’s Span, SignedDuration, TimeZone, Offset, Date, Time, DateTime, Zoned, and Timestamp.
num_bigintnum-bigint
Conversions to and from num-bigint’s BigInt and BigUint types.
num_complexnum-complex
Conversions to and from num-complexComplex<f32> and Complex<f64>.
num_rationalnum-rational
Conversions to and from num-rational types.
rust_decimalrust_decimal
Conversions to and from rust_decimal’s [Decimal] type.
serdeserde
Enables (de)serialization of Py<T> objects via serde.
smallvecsmallvec
Conversions to and from smallvec.
std 🔒
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here