petgraph 0.5.0

Graph data structure library. Provides graph types and graph algorithms.
Documentation
macro_rules! clone_fields {
    ($name:ident, $($field:ident),+ $(,)*) => (
        fn clone(&self) -> Self {
            $name {
                $(
                    $field : self . $field .clone()
                ),*
            }
        }
    );
}