use crate::{
Abi,
BoxStr,
};
#[derive(Debug, Clone)]
pub struct Static {
pub(crate) public: bool,
#[expect(unused)]
pub(crate) abi: Abi,
pub(crate) ident: BoxStr,
pub(crate) link_name: Option<BoxStr>,
pub(crate) ty: syn::Type,
}
impl Static {
pub fn ident(&self) -> &str {
&self.ident
}
pub fn link_name(&self) -> Option<&str> {
self.link_name.as_deref()
}
}