Struct rs_graph::vec::NodeIndexer [−][src]
pub struct NodeIndexer<'g, G>(pub G, _);
An indexer for nodes of an IndexGraphRef.
Trait Implementations
impl<'g, G: Clone> Clone for NodeIndexer<'g, G>[src]
impl<'g, G: Clone> Clone for NodeIndexer<'g, G>[src]fn clone(&self) -> NodeIndexer<'g, G>[src]
fn clone(&self) -> NodeIndexer<'g, G>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl<'a, G> GraphIndexer<G> for NodeIndexer<'a, G> where
G: IndexGraphRef<'a> + Clone, [src]
impl<'a, G> GraphIndexer<G> for NodeIndexer<'a, G> where
G: IndexGraphRef<'a> + Clone, [src]impl<'g, G, I> GraphIterator<NodeIndexer<'g, G>> for IndexerIt<I> where
I: GraphIterator<G>, [src]
impl<'g, G, I> GraphIterator<NodeIndexer<'g, G>> for IndexerIt<I> where
I: GraphIterator<G>, [src]type Item = I::Item
fn next(&mut self, indexer: &NodeIndexer<'g, G>) -> Option<Self::Item>[src]
fn size_hint(&self, indexer: &NodeIndexer<'g, G>) -> (usize, Option<usize>)[src]
fn count(self, indexer: &NodeIndexer<'g, G>) -> usize[src]
fn iter<'a>(self, g: &'a G) -> GraphIter<'a, G, Self>ⓘ where
G: Sized, [src]
G: Sized,
impl<'a, G> Indexer for NodeIndexer<'a, G> where
G: IndexGraphRef<'a> + Clone, [src]
impl<'a, G> Indexer for NodeIndexer<'a, G> where
G: IndexGraphRef<'a> + Clone, [src]impl<'g, G: Copy> Copy for NodeIndexer<'g, G>[src]
Auto Trait Implementations
impl<'g, G> RefUnwindSafe for NodeIndexer<'g, G> where
G: RefUnwindSafe,
G: RefUnwindSafe,
impl<'g, G> Send for NodeIndexer<'g, G> where
G: Send + Sync,
G: Send + Sync,
impl<'g, G> Sync for NodeIndexer<'g, G> where
G: Sync,
G: Sync,
impl<'g, G> Unpin for NodeIndexer<'g, G> where
G: Unpin,
G: Unpin,
impl<'g, G> UnwindSafe for NodeIndexer<'g, G> where
G: RefUnwindSafe + UnwindSafe,
G: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more