pyo3::types::set

Function new_from_iter

Source
pub(crate) fn new_from_iter<T: ToPyObject>(
    py: Python<'_>,
    elements: impl IntoIterator<Item = T>,
) -> PyResult<Bound<'_, PySet>>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here