Compare commits
3
Commits
c9a5b0c526
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d05aed057 | ||
|
|
93c06bc60c | ||
|
|
5bbc9af865 |
@@ -21,6 +21,7 @@ pub use node::*;
|
|||||||
|
|
||||||
/// A generic graph type holding values connected to other values.
|
/// A generic graph type holding values connected to other values.
|
||||||
/// Values can be added to the graph, but not removed.
|
/// Values can be added to the graph, but not removed.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Graph<NodeValueT: NodeValue> {
|
pub struct Graph<NodeValueT: NodeValue> {
|
||||||
nodes: Vec<Node<NodeValueT>>,
|
nodes: Vec<Node<NodeValueT>>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user