pub trait FindSingleSourceShortestPaths {
// Required method
fn find_single_source_shortest_paths(
&self,
s: NodeId,
) -> Result<DistanceMap, BetweennessCentralityError>;
}Required Methods§
fn find_single_source_shortest_paths( &self, s: NodeId, ) -> Result<DistanceMap, BetweennessCentralityError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".