1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
//! Graph macros.

#[macro_export]
macro_rules! copyclone {
    ($name:ident) => {
        impl Clone for $name {
            #[inline]
            fn clone(&self) -> Self {
                *self
            }
        }
    };
}