Skip to main content

rue_types/types/
pair.rs

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