1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Hash, Eq, PartialEq, Debug)] pub enum LifetimeKind { Static, Bound(usize), Any(usize), } #[derive(Hash, Eq, PartialEq, Debug, Copy, Clone)] pub struct Lifetime { // pub kind: LifetimeKind, pub id: usize, }