pyo3_utils
¶
Python integration for the pyo3-utils
crate.
Classes:
Name | Description |
---|---|
PyMatchRefMixin |
Rust |
PyMatchMutMixin |
Rust |
PyMatchIntoMixin |
Rust |
PyMatchRefMixin
¶
Bases: Generic[_T]
Rust match &self
for Python.
This class is only used to provide type annotations, the actual implementation of the methods is handled by the pyo3 extension module.
Note
This class can only be used when TYPE_CHECKING
.
Methods:
Name | Description |
---|---|
match_ref |
Equivalent to |
PyMatchMutMixin
¶
Bases: Generic[_T]
Rust match &mut self
for Python.
This class is only used to provide type annotations, the actual implementation of the methods is handled by the pyo3 extension module.
Note
This class can only be used when TYPE_CHECKING
.
Methods:
Name | Description |
---|---|
match_mut |
Equivalent to |
PyMatchIntoMixin
¶
Bases: Generic[_T]
Rust match self
for Python.
This class is only used to provide type annotations, the actual implementation of the methods is handled by the pyo3 extension module.
Note
This class can only be used when TYPE_CHECKING
.
Methods:
Name | Description |
---|---|
match_into |
Equivalent to |