Skip to main content

Module dict

Module dict 

Source
Expand description

Python dictionaries and related types.

Re-exportsยง

use crate::err; ๐Ÿ”’
use crate::err::PyErr; ๐Ÿ”’
use crate::err::PyResult; ๐Ÿ”’
use crate::ffi::Py_ssize_t; ๐Ÿ”’
use crate::ffi_ptr_ext::FfiPtrExt; ๐Ÿ”’
use crate::instance::Borrowed; ๐Ÿ”’
use crate::instance::Bound; ๐Ÿ”’
use crate::py_result_ext::PyResultExt; ๐Ÿ”’
use crate::types::PyAny; ๐Ÿ”’
use crate::types::PyList; ๐Ÿ”’
use crate::types::PyMapping; ๐Ÿ”’
use crate::BoundObject; ๐Ÿ”’
use crate::IntoPyObject; ๐Ÿ”’
use crate::IntoPyObject; ๐Ÿ”’
use crate::IntoPyObjectExt; ๐Ÿ”’
use crate::Python; ๐Ÿ”’
use crate::ffi; ๐Ÿ”’
pub(crate) use borrowed_iter::BorrowedDictIter; ๐Ÿ”’

Modulesยง

borrowed_iter ๐Ÿ”’
items ๐Ÿ”’
keys ๐Ÿ”’
values ๐Ÿ”’

Structsยง

BoundDictIterator
PyO3 implementation of an iterator for a Python dict object.
PyDict
Represents a Python dict.

Enumsยง

DictIterImpl ๐Ÿ”’

Traitsยง

IntoPyDict
Conversion trait that allows a sequence of tuples to be converted into PyDict Primary use case for this trait is call and call_method methods as keywords argument.
PyDictItem ๐Ÿ”’
Represents a tuple which can be used as a PyDict item.
PyDictMethods
Implementation of functionality for PyDict.

Functionsยง

dict_len ๐Ÿ”’
setdefault_result_from_nonerror_return_code ๐Ÿ”’
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here