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
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]
impl<'a> IntoPyTuple for &'a strfn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>impl<A: IntoPyObject> IntoPyTuple for (A,)[src]
impl<A: IntoPyObject> IntoPyTuple for (A,)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>impl<A: IntoPyObject, B: IntoPyObject> IntoPyTuple for (A, B)[src]
impl<A: IntoPyObject, B: IntoPyObject> IntoPyTuple for (A, B)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject> IntoPyTuple for (A, B, C)[src]
impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject> IntoPyTuple for (A, B, C)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>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> IntoPyTuple for (A, B, C, D)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>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> IntoPyTuple for (A, B, C, D, E)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>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> IntoPyTuple for (A, B, C, D, E, F)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>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> IntoPyTuple for (A, B, C, D, E, F, G)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>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> IntoPyTuple for (A, B, C, D, E, F, G, H)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>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<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)fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>impl IntoPyTuple for ()[src]
impl IntoPyTuple for ()Converts () to an empty Python tuple.
fn into_tuple(self, py: Python) -> Py<PyTuple>[src]
fn into_tuple(self, py: Python) -> Py<PyTuple>