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§
sourcefn new_empty(graph: &'a <Self as SubgraphBase>::RootGraph) -> Self
 
fn new_empty(graph: &'a <Self as SubgraphBase>::RootGraph) -> Self
Construct an empty subgraph instance for the given root graph.