[][src]Struct rs_graph::steinlib::Instance

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: G

The 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> Send for Instance<G> where
    G: Send

impl<G> Sync for Instance<G> where
    G: Sync

impl<G> Unpin for Instance<G> where
    G: Unpin

impl<G> UnwindSafe for Instance<G> where
    G: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.