API Reference
This page is the entry point to the complete public API documentation.
Collections
Seq[T]— Immutable collections (tuple-backed)Vec[T]— Mutable collections (list-backed)Set[T]— Immutable collections (frozenset-backed)SetMut[T]— Mutable sets (set-backed)Dict[K, V]— Chainable dictionaries
Iterators
Iter[T]— Lazy processing of iteratorsPeekable— Peeking iteratorUnzipped— Unzipped iterator results
Error handling
Result[T, E]— Explicit error handling (Ok/Err)OkErrResultUnwrapError
Optional values
Option[T]— Optional values (Some/NONE)SomeNoneOptionUnwrapError
Traits & mixins
Fluent Traits
Abstract Collection Traits
PyoIterable[T]— Base trait for all iterablesPyoIterator[T]— Iterator traitPyoCollection[T]— Base trait for eager collectionsPyoSequence[T]— Sequence traitPyoMutableSequence[T]— Mutable sequence traitPyoSet[T]— Set traitPyoMappingView[T]— Mapping view traitPyoMapping[K, V]— Mapping traitPyoMutableMapping[K, V]— Mutable mapping trait
Mapping Views
PyoKeysView[K]— Keys viewPyoValuesView[V]— Values viewPyoItemsView[K, V]— Items view