1use crate::TypeId; 2 3#[derive(Debug, Clone, PartialEq)] 4pub struct WildcardType { 5 pub bound: Option<WildcardBound>, 6} 7 8#[derive(Debug, Clone, PartialEq)] 9pub enum WildcardBound { 10 Extends(TypeId), 11 Super(TypeId), 12}