RecursiveDfsAlg

Struct RecursiveDfsAlg 

Source
pub struct RecursiveDfsAlg<A, B, C, D>(pub A, pub B, pub C, pub D);

Tuple Fields§

§0: A§1: B§2: C§3: D

Implementations§

Source§

impl<A, B, C, D> RecursiveDfsAlg<A, B, C, D>

Source

pub fn graph<N>(self, zero: N) -> RecursiveDfsAlg<N, B, C, D>

Source

pub fn visitor<N>(self, one: N) -> RecursiveDfsAlg<A, N, C, D>

Source

pub fn roots<N>(self, two: N) -> RecursiveDfsAlg<A, B, N, D>

Source

pub fn color<N>(self, three: N) -> RecursiveDfsAlg<A, B, C, N>

Source§

impl<'a, G, V, R, C> RecursiveDfsAlg<&'a G, V, R, C>

Source

pub fn run(self) -> Control
where G: Incidence, V: Visitor<G>, R: IntoIterator<Item = Vertex<G>>, C: ParamDerefMut, C::Target: VertexPropMut<G, Color>,

Source

pub fn root( self, root: Vertex<G>, ) -> RecursiveDfsAlg<&'a G, V, Once<Vertex<G>>, C>
where G: WithVertex,

Source

pub fn ignore_color_changes( self, ) -> RecursiveDfsAlg<&'a G, V, R, Owned<IgnoreWriteProp<Color>>>
where G: WithVertex,

Auto Trait Implementations§

§

impl<A, B, C, D> Freeze for RecursiveDfsAlg<A, B, C, D>
where A: Freeze, B: Freeze, C: Freeze, D: Freeze,

§

impl<A, B, C, D> RefUnwindSafe for RecursiveDfsAlg<A, B, C, D>

§

impl<A, B, C, D> Send for RecursiveDfsAlg<A, B, C, D>
where A: Send, B: Send, C: Send, D: Send,

§

impl<A, B, C, D> Sync for RecursiveDfsAlg<A, B, C, D>
where A: Sync, B: Sync, C: Sync, D: Sync,

§

impl<A, B, C, D> Unpin for RecursiveDfsAlg<A, B, C, D>
where A: Unpin, B: Unpin, C: Unpin, D: Unpin,

§

impl<A, B, C, D> UnwindSafe for RecursiveDfsAlg<A, B, C, D>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoOwned<T> for T

Source§

fn into_owned(self) -> T

Source§

impl<G> Sets for G

Source§

fn vertices_complement<I>(&self, vertices: I) -> VerticesComplement<'_, Self>

Source§

fn edges_complement<I>(&self, edges: I) -> EdgesComplement<'_, Self>
where Self: EdgeList + WithEdgeProp<bool>, I: IntoIterator, I::Item: IntoOwned<Edge<Self>>,

Source§

fn independent_vertex_set_from_iter<I>( &self, vertices: I, ) -> IndependentVertexSetFromIter<'_, Self, I::IntoIter>

Source§

fn is_independent_vertex_set<I>(&self, vertices: I) -> bool

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.