Skip to main content

from_graph_lens

Function from_graph_lens 

Source
pub fn from_graph_lens<Extra, V, L>(
    _classifier: &GraphClassifier<Extra, V>,
    _lens: L,
) -> GraphView<Extra, V>
where V: GraphValue,
Expand description

Builds a GraphView from a GraphLens.

Deferred: GraphLens has not yet been ported to pattern-rs. This constructor will be implemented when GraphLens is available. The signature accepts a classifier and a lens placeholder so that callers can use the same API shape; it panics at runtime until the type is ported.