Trait pyo3::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

Converts self into a PyTuple object.

Implementations on Foreign Types

impl<'a> IntoPyTuple for &'a str
[src]

impl<A: IntoPyObject> IntoPyTuple for (A,)
[src]

impl<A: IntoPyObject, B: IntoPyObject> IntoPyTuple for (A, B)
[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject> IntoPyTuple for (A, B, C)
[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject> IntoPyTuple for (A, B, C, D)
[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject> IntoPyTuple for (A, B, C, D, E)
[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject> IntoPyTuple for (A, B, C, D, E, F)
[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]

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]

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]

impl IntoPyTuple for ()
[src]

Converts () to an empty Python tuple.

Implementors