Struct rs_graph::string::Data [−][src]
pub struct Data<'a, G> where
G: GraphType<'a>, { pub graph: G, pub nodes: HashMap<char, G::Node>, pub weights: Vec<usize>, }
The data returned by from_ascii.
Fields
graph: GThe graph.
nodes: HashMap<char, G::Node>Map from character to node for named nodes.
weights: Vec<usize>The edge weights.
Auto Trait Implementations
impl<'a, G> RefUnwindSafe for Data<'a, G> where
G: RefUnwindSafe,
<G as GraphType<'a>>::Node: RefUnwindSafe,
impl<'a, G> RefUnwindSafe for Data<'a, G> where
G: RefUnwindSafe,
<G as GraphType<'a>>::Node: RefUnwindSafe, impl<'a, G> UnwindSafe for Data<'a, G> where
G: UnwindSafe,
<G as GraphType<'a>>::Node: UnwindSafe,
impl<'a, G> UnwindSafe for Data<'a, G> where
G: UnwindSafe,
<G as GraphType<'a>>::Node: UnwindSafe,