Trait StoreIter

Source
pub trait StoreIter<K, V> {
    type Item<'a, _K, _V>
       where Self: 'a;
    type Iter<'a>: Iterator<Item = Self::Item<'a, K, V>>
       where Self: 'a;

    // Required method
    fn iter(&self) -> Self::Iter<'_>;
}
Expand description

The StoreIter trait extends the RawStore trait to provide iteration capabilities over the vertices stored in the edge.

Required Associated Types§

Source

type Item<'a, _K, _V> where Self: 'a

Source

type Iter<'a>: Iterator<Item = Self::Item<'a, K, V>> where Self: 'a

the iterator for the store

Required Methods§

Source

fn iter(&self) -> Self::Iter<'_>

returns an iterator over the vertices in the store.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§