Trait matterdb::indexes::IndexIterator [−][src]
Database object that supports iteration and continuing iteration from an intermediate position.
This trait is implemented for all index collections (i.e., all index types except for
Entry
) and can thus be used by the generic iteration routines.
Associated Types
type Key: BinaryKey + ?Sized
[src]
Type encompassing index keys.
type Value: BinaryValue
[src]
Type encompassing index values.
Required methods
fn index_iter(
&self,
from: Option<&Self::Key>
) -> Entries<'_, Self::Key, Self::Value>ⓘ
[src]
&self,
from: Option<&Self::Key>
) -> Entries<'_, Self::Key, Self::Value>ⓘ
Continues iteration from the specified position. If from
is None
, starts the iteration
from scratch.
Implementors
impl<T, K: ?Sized> IndexIterator for KeySetIndex<T, K> where
T: RawAccess,
K: BinaryKey,
[src]
T: RawAccess,
K: BinaryKey,
impl<T, K: ?Sized, V> IndexIterator for MapIndex<T, K, V> where
T: RawAccess,
K: BinaryKey,
V: BinaryValue,
[src]
T: RawAccess,
K: BinaryKey,
V: BinaryValue,
impl<T, V> IndexIterator for ListIndex<T, V> where
T: RawAccess,
V: BinaryValue,
[src]
T: RawAccess,
V: BinaryValue,
impl<T, V> IndexIterator for SparseListIndex<T, V> where
T: RawAccess,
V: BinaryValue,
[src]
T: RawAccess,
V: BinaryValue,