Struct rs_graph::adjacencies::OutEdges[][src]

pub struct OutEdges<'g, G>(pub &'g G);

Neighbor access over all outgoing edges of a Digraph.

Trait Implementations

impl<'a, 'g: 'a, G> Adjacencies<'a> for OutEdges<'g, G> where
    G: Directed<'g>, 
[src]

type IncidenceIt = AdjacenciesWrapIt<G::OutIt>

fn neigh_iter(&self, u: Self::Node) -> Self::IncidenceIt[src]

fn neighs<'b>(&'b self, u: Self::Node) -> GraphIter<'b, Self, Self::IncidenceIt>

Notable traits for GraphIter<'a, G, I>

impl<'a, G, I> Iterator for GraphIter<'a, G, I> where
    I: GraphIterator<G>, 
type Item = I::Item;
where
    'a: 'b,
    Self: Sized
[src]

fn filter<P>(self, predicate: P) -> FilterAdjacencies<Self, P> where
    Self: Sized,
    P: for<'r> Fn(&'r (Self::Edge, Self::Node)) -> bool
[src]

impl<'g, G, I> GraphIterator<OutEdges<'g, G>> for AdjacenciesWrapIt<I> where
    I: GraphIterator<G>, 
[src]

type Item = I::Item

fn next(&mut self, adj: &OutEdges<'g, G>) -> Option<Self::Item>[src]

fn size_hint(&self, adj: &OutEdges<'g, G>) -> (usize, Option<usize>)[src]

fn count(self, adj: &OutEdges<'g, G>) -> usize[src]

fn iter<'a>(self, g: &'a G) -> GraphIter<'a, G, Self>

Notable traits for GraphIter<'a, G, I>

impl<'a, G, I> Iterator for GraphIter<'a, G, I> where
    I: GraphIterator<G>, 
type Item = I::Item;
where
    G: Sized
[src]

impl<'a, 'g: 'a, G> GraphType<'a> for OutEdges<'g, G> where
    G: Directed<'g>, 
[src]

type Node = G::Node

Type of a node.

type Edge = G::Edge

Type of an edge.

Auto Trait Implementations

impl<'g, G> RefUnwindSafe for OutEdges<'g, G> where
    G: RefUnwindSafe

impl<'g, G> Send for OutEdges<'g, G> where
    G: Sync

impl<'g, G> Sync for OutEdges<'g, G> where
    G: Sync

impl<'g, G> Unpin for OutEdges<'g, G>

impl<'g, G> UnwindSafe for OutEdges<'g, G> where
    G: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.