vidi::util::search

Function topology_as_facts

Source
pub fn topology_as_facts<E>(
    topology: &Topology,
    add_fact: impl FnMut(&str) -> Result<(), E>,
) -> Result<(), E>
Expand description

Encodes Topology as a series of Prolog facts.