usecrate::BoxStr;/// Represents a type alias defined in Rust.
#[derive(Debug, Clone)]pubstructType{pub(crate)public:bool,
pub(crate)ident: BoxStr,
pub(crate)ty:syn::Type,
}implType{/// Return the identifier of the type alias as a string.
pubfnident(&self)->&str{&self.ident
}}