1 2 3 4 5 6 7
use derive_more::Constructor; #[derive(Copy, Clone, Default, PartialEq, Eq, Hash, Constructor)] pub struct Pair<A, B> { pub left: A, pub right: B, }