Skip to main content

NodeFactory

Type Alias NodeFactory 

Source
pub type NodeFactory = Box<dyn Fn(&Core, &Graph, &str, &NodeSlice, &[NodeId]) -> Result<NodeId, SnapshotError>>;
Expand description

Factory for auto-hydration mode. D246: receives the embedder’s &Core + the Core-free Graph handle.

Aliased Type§

pub struct NodeFactory(/* private fields */);