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,
G: RefUnwindSafe,
<G as GraphType<'a>>::Node: RefUnwindSafe,
impl<'a, G> Send for Data<'a, G> where
G: Send,
<G as GraphType<'a>>::Node: Send,
G: Send,
<G as GraphType<'a>>::Node: Send,
impl<'a, G> Sync for Data<'a, G> where
G: Sync,
<G as GraphType<'a>>::Node: Sync,
G: Sync,
<G as GraphType<'a>>::Node: Sync,
impl<'a, G> Unpin for Data<'a, G> where
G: Unpin,
<G as GraphType<'a>>::Node: Unpin,
G: Unpin,
<G as GraphType<'a>>::Node: Unpin,
impl<'a, G> UnwindSafe for Data<'a, G> where
G: UnwindSafe,
<G as GraphType<'a>>::Node: UnwindSafe,
G: UnwindSafe,
<G as GraphType<'a>>::Node: UnwindSafe,