pub trait IterDomain<Idx = usize>where
Idx: RawIndex,{
type Store<_T>: RawDomain<Key = VertexId<Idx>>;
type Iter<'a, _T>: Iterator<Item = &'a _T>
where _T: 'a,
Self: 'a;
// Required method
fn iter(&self) -> Self::Iter<'_, <Self::Store<Idx> as RawDomain>::Key>;
}
Expand description
The IterDomain
trait defines the base interface for creating an interator over a domain
of vertices.
Required Associated Types§
type Store<_T>: RawDomain<Key = VertexId<Idx>>
type Iter<'a, _T>: Iterator<Item = &'a _T> where _T: 'a, Self: 'a
Required Methods§
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.