Trait bevy_internal::utils::petgraph::data::FromElements
source · pub trait FromElements: Create {
// Provided method
fn from_elements<I>(iterable: I) -> Self
where Self: Sized,
I: IntoIterator<Item = Element<Self::NodeWeight, Self::EdgeWeight>> { ... }
}
Expand description
Create a graph from an iterator of elements.
Provided Methods§
fn from_elements<I>(iterable: I) -> Self
Object Safety§
This trait is not object safe.