[−][src]Trait pyo3::IntoPyTuple
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 IntoPyTuple for ()
[src]
Converts ()
to an empty Python tuple.
fn into_tuple(self, py: Python) -> Py<PyTuple>
[src]
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]
Implementors
impl IntoPyTuple for NoArgs
[src]
Converts NoArgs
to an empty Python tuple.