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