pub trait ForceGraphHelper<N, E, Ty> {
// Required methods
fn add_force_node(&mut self, name: impl AsRef<str>, data: N) -> NodeIndex;
fn add_force_node_with_coords(
&mut self,
name: impl AsRef<str>,
data: N,
location: Vec3,
) -> NodeIndex;
}
Expand description
Syntactic sugar to make adding Node
s to a ForceGraph
easier.
Required Methods§
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.