1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::TypeId; #[derive(Debug, Clone, Copy)] pub struct Pair { pub first: TypeId, pub rest: TypeId, } impl Pair { pub fn new(first: TypeId, rest: TypeId) -> Self { Self { first, rest } } }