pub trait DebugUnitGraph {
    fn get_uid(&self, unit_id: &str) -> Option<u64>;
    fn get_id(&self, unit_uid: u64) -> Option<String>;
    fn get_unit_type(&self, unit_uid: u64) -> Option<UnitType>;
}
Expand description

Subset of the UnitGraph trait which only provides the functions necessary to debug the graph.

Required Methods

Retrieves the assigned uid to the given unit_id.

Retrieves the human-readable ID of the unit with the given UID.

Returns the type of the given unit.

Implementors