Trait pythonize::PythonizeListType[][src]

pub trait PythonizeListType: Sized {
    fn create_sequence<T, U>(
        py: Python<'_>,
        elements: impl IntoIterator<Item = T, IntoIter = U>
    ) -> PyResult<&PySequence>
    where
        T: ToPyObject,
        U: ExactSizeIterator<Item = T>
; }
Expand description

Trait for types which can represent a Python sequence

Required methods

Constructor

Implementations on Foreign Types

Implementors