[−][src]Struct rs_graph::adjacencies::FilterAdjacencies
Trait Implementations
impl<'a, A, P> Adjacencies<'a> for FilterAdjacencies<A, P> where
A: Adjacencies<'a>,
P: 'a + Clone + for<'r> Fn(&'r (A::Edge, A::Node)) -> bool,
[src]
A: Adjacencies<'a>,
P: 'a + Clone + for<'r> Fn(&'r (A::Edge, A::Node)) -> bool,
type Incidence = Filtered<A::Incidence>
fn first(&self, u: Self::Node) -> Option<Self::Incidence>
[src]
fn next(&self, it: Self::Incidence) -> Option<Self::Incidence>
[src]
fn get(&self, it: &Self::Incidence) -> (Self::Edge, Self::Node)
[src]
ⓘImportant traits for IncidenceIter<'a, 'g, G>fn neighs<'g>(&'g self, u: Self::Node) -> IncidenceIter<'a, 'g, Self> where
Self: Sized,
[src]
ⓘImportant traits for IncidenceIter<'a, 'g, G>
Self: Sized,
fn filter<P>(self, predicate: P) -> FilterAdjacencies<Self, P> where
Self: Sized,
P: for<'r> Fn(&'r (Self::Edge, Self::Node)) -> bool,
[src]
Self: Sized,
P: for<'r> Fn(&'r (Self::Edge, Self::Node)) -> bool,
impl<'a, A, P> GraphType<'a> for FilterAdjacencies<A, P> where
A: Adjacencies<'a>,
[src]
A: Adjacencies<'a>,
Auto Trait Implementations
impl<A, P> RefUnwindSafe for FilterAdjacencies<A, P> where
A: RefUnwindSafe,
P: RefUnwindSafe,
A: RefUnwindSafe,
P: RefUnwindSafe,
impl<A, P> Send for FilterAdjacencies<A, P> where
A: Send,
P: Send,
A: Send,
P: Send,
impl<A, P> Sync for FilterAdjacencies<A, P> where
A: Sync,
P: Sync,
A: Sync,
P: Sync,
impl<A, P> Unpin for FilterAdjacencies<A, P> where
A: Unpin,
P: Unpin,
A: Unpin,
P: Unpin,
impl<A, P> UnwindSafe for FilterAdjacencies<A, P> where
A: UnwindSafe,
P: UnwindSafe,
A: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,