Trait pyo3::prelude::IntoPyTuple
[−]
[src]
pub trait IntoPyTuple {
fn into_tuple(self, py: Python) -> Py<PyTuple>;
}Conversion trait that allows various objects to be converted into PyTuple object.
Required Methods
fn into_tuple(self, py: Python) -> Py<PyTuple>
Converts self into a PyTuple object.
Implementations on Foreign Types
impl<'a> IntoPyTuple for &'a str[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject> IntoPyTuple for (A,)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject> IntoPyTuple for (A, B)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject> IntoPyTuple for (A, B, C)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject> IntoPyTuple for (A, B, C, D)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject> IntoPyTuple for (A, B, C, D, E)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject> IntoPyTuple for (A, B, C, D, E, F)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject, G: IntoPyObject> IntoPyTuple for (A, B, C, D, E, F, G)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject, G: IntoPyObject, H: IntoPyObject> IntoPyTuple for (A, B, C, D, E, F, G, H)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject, G: IntoPyObject, H: IntoPyObject, I: IntoPyObject> IntoPyTuple for (A, B, C, D, E, F, G, H, I)[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
impl IntoPyTuple for ()[src]
Converts () to an empty Python tuple.