pub struct NetworkEdgeIt<G, I>(/* private fields */)
where
I: GraphIterator<G>;
Expand description
Graph iterator over all edges of the Network
.
Trait Implementations§
Source§impl<G, I> Clone for NetworkEdgeIt<G, I>
impl<G, I> Clone for NetworkEdgeIt<G, I>
Source§impl<'a, G, I> GraphIterator<Network<'a, G>> for NetworkEdgeIt<G, I>
impl<'a, G, I> GraphIterator<Network<'a, G>> for NetworkEdgeIt<G, I>
type Item = NetworkEdge<<I as GraphIterator<G>>::Item>
fn next(&mut self, net: &Network<'a, G>) -> Option<Self::Item>
fn size_hint(&self, net: &Network<'a, G>) -> (usize, Option<usize>)
fn count(self, net: &Network<'a, G>) -> usize
fn iter(self, g: &G) -> GraphIter<'_, G, Self> ⓘwhere
G: Sized,
Auto Trait Implementations§
impl<G, I> Freeze for NetworkEdgeIt<G, I>
impl<G, I> RefUnwindSafe for NetworkEdgeIt<G, I>
impl<G, I> Send for NetworkEdgeIt<G, I>
impl<G, I> Sync for NetworkEdgeIt<G, I>
impl<G, I> Unpin for NetworkEdgeIt<G, I>
impl<G, I> UnwindSafe for NetworkEdgeIt<G, I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more