use syn::{Ident, Lifetime};
#[derive(Clone, Debug, PartialEq, Eq, Ord, PartialOrd)]
pub enum Param {
Lifetime(Lifetime),
Ident(Ident),
}
impl From<Ident> for Param {
fn from(value: Ident) -> Self {
Param::Ident(value)
}
}
impl From<Lifetime> for Param {
fn from(value: Lifetime) -> Self {
Param::Lifetime(value)
}
}