Struct rs_graph::steinlib::Instance [−][src]
pub struct Instance<G> where
G: for<'a> IndexGraph<'a>, { pub graph: G, pub weights: Vec<f64>, pub coordinates: Vec<Vec<f64>>, pub edgeattrs: Vec<Vec<EdgeAttr>>, }
An SteinLib instance.
Fields
graph: GThe graph.
weights: Vec<f64>The edge weights.
coordinates: Vec<Vec<f64>>The node coordinates.
edgeattrs: Vec<Vec<EdgeAttr>>The edge attributes.
Auto Trait Implementations
impl<G> RefUnwindSafe for Instance<G> where
G: RefUnwindSafe,
impl<G> RefUnwindSafe for Instance<G> where
G: RefUnwindSafe, impl<G> UnwindSafe for Instance<G> where
G: UnwindSafe,
impl<G> UnwindSafe for Instance<G> where
G: UnwindSafe,