Module pyo3::types[][src]

Expand description

Various types defined by the Python interpreter such as int, str and tuple.

Structs

Represents any Python object.

Represents a Python bool.

Represents a Python bytearray.

Represents a Python bytes object.

Represents a builtin Python function object.

Represents a Python complex object.

Bindings around datetime.date

Bindings for datetime.datetime

Bindings for datetime.timedelta

Represents a Python dict.

Represents a Python float object.

Represents a Python frozenset

Represents a Python function object.

Represents a Python int object.

A Python iterator object.

Represents a Python list.

Represents a Python int object.

Represents a Python module object.

Represents a reference to a Python object supporting the sequence protocol.

Represents a Python set

Represents a Python slice.

Represents Python slice indices.

Represents a Python string (a Unicode string object).

Bindings for datetime.time

Represents a Python tuple object.

Represents a reference to a Python type object.

Bindings for datetime.tzinfo

Represents a Python string (a Unicode string object).

Traits

Conversion trait that allows a sequence of tuples to be converted into PyDict Primary use case for this trait is call and call_method methods as keywords argument.

Trait for accessing the date components of a struct containing a date.

Trait for accessing the components of a struct containing a timedelta.

Trait for accessing the time components of a struct containing a time.