pub struct NetworkNodeIt<I>(/* private fields */);
Expand description
Graph iterator over all nodes of the Network
.
Trait Implementations§
Source§impl<I: Clone> Clone for NetworkNodeIt<I>
impl<I: Clone> Clone for NetworkNodeIt<I>
Source§fn clone(&self) -> NetworkNodeIt<I>
fn clone(&self) -> NetworkNodeIt<I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, G, I> GraphIterator<Network<'a, G>> for NetworkNodeIt<I>where
I: GraphIterator<G>,
impl<'a, G, I> GraphIterator<Network<'a, G>> for NetworkNodeIt<I>where
I: GraphIterator<G>,
type Item = <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<I> Freeze for NetworkNodeIt<I>where
I: Freeze,
impl<I> RefUnwindSafe for NetworkNodeIt<I>where
I: RefUnwindSafe,
impl<I> Send for NetworkNodeIt<I>where
I: Send,
impl<I> Sync for NetworkNodeIt<I>where
I: Sync,
impl<I> Unpin for NetworkNodeIt<I>where
I: Unpin,
impl<I> UnwindSafe for NetworkNodeIt<I>where
I: UnwindSafe,
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