1 2 3 4 5 6 7
use syn::{Type, TypeParam}; #[derive(Debug, Clone, PartialEq, Eq)] pub enum AcceptsT { Type(Type), Generics(TypeParam), }