pub trait EmptyConstructibleSubgraph<'a>: SubgraphBase {
    // Required method
    fn new_empty(graph: &'a <Self as SubgraphBase>::RootGraph) -> Self;
}
Expand description

A subgraph type for which an empty instance can be constructed using an instance of the root graph type.

Required Methods§

source

fn new_empty(graph: &'a <Self as SubgraphBase>::RootGraph) -> Self

Construct an empty subgraph instance for the given root graph.

Implementors§

source§

impl<'a, Graph: ImmutableGraphContainer + SubgraphBase> EmptyConstructibleSubgraph<'a> for BitVectorSubgraph<'a, Graph>where Self: SubgraphBase<RootGraph = Graph>,