Skip to main content

rue_types/types/
unions.rs

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