pub trait SteinerTreeExt: Vertices {
// Provided method
fn steiner_tree<'a, S, M, I>(
&self,
terminals: I,
weight: &'a M,
) -> SteinerTreeOutput<'_, S, Self>
where Self: VertexMap<S::T> + AdjacencyView<'a, M, S::T>,
S: ShortestPathSemiRing,
I: IntoIterator<Item = Self::VIndex> + ExactSizeIterator { ... }
}
Provided Methods§
fn steiner_tree<'a, S, M, I>(
&self,
terminals: I,
weight: &'a M,
) -> SteinerTreeOutput<'_, S, Self>where
Self: VertexMap<S::T> + AdjacencyView<'a, M, S::T>,
S: ShortestPathSemiRing,
I: IntoIterator<Item = Self::VIndex> + ExactSizeIterator,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.