pub trait Edges {
type NI: Idx;
type EV;
type EdgeIter<'a>: ParallelIterator<Item = (Self::NI, Self::NI, Self::EV)>
where Self: 'a;
// Required method
fn edges(&self) -> Self::EdgeIter<'_>;
// Provided methods
fn max_node_id(&self) -> Self::NI { ... }
fn degrees(
&self,
node_count: Self::NI,
direction: Direction
) -> Vec<Atomic<Self::NI>> { ... }
}
Required Associated Types§
type NI: Idx
type EV
type EdgeIter<'a>: ParallelIterator<Item = (Self::NI, Self::NI, Self::EV)> where Self: 'a
Required Methods§
Provided Methods§
fn max_node_id(&self) -> Self::NI
fn degrees( &self, node_count: Self::NI, direction: Direction ) -> Vec<Atomic<Self::NI>>
Object Safety§
This trait is not object safe.