petgraph::algo

Type Alias DfsSpaceType

Source
type DfsSpaceType<G> = DfsSpace<<G as GraphBase>::NodeId, <G as Visitable>::Map>;

Aliased Type§

struct DfsSpaceType<G> {
    dfs: Dfs<<G as GraphBase>::NodeId, <G as Visitable>::Map>,
}

Fields§

§dfs: Dfs<<G as GraphBase>::NodeId, <G as Visitable>::Map>

Implementations

Source§

impl<N, VM> DfsSpace<N, VM>
where N: Copy + PartialEq, VM: VisitMap<N>,

Source

pub fn new<G>(g: G) -> Self
where G: GraphRef + Visitable<NodeId = N, Map = VM>,

Trait Implementations

Source§

impl<N: Clone, VM: Clone> Clone for DfsSpace<N, VM>

Source§

fn clone(&self) -> DfsSpace<N, VM>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<N: Debug, VM: Debug> Debug for DfsSpace<N, VM>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<N, VM> Default for DfsSpace<N, VM>
where VM: VisitMap<N> + Default,

Source§

fn default() -> Self

Returns the “default value” for a type. Read more