pub trait GraphFn {
// Required method
fn build_graph(&self, compressor: &mut Compressor) -> GraphId;
}Expand description
Trait for defining compression graphs.
Implementors define how to build a compression graph by registering nodes and edges with the Compressor.
Required Methods§
Sourcefn build_graph(&self, compressor: &mut Compressor) -> GraphId
fn build_graph(&self, compressor: &mut Compressor) -> GraphId
Build the compression graph using the provided Compressor.
Returns the starting GraphID for this graph.