pub struct HotpatchExport<T: 'static> {
pub symbol: &'static str,
pub sig: &'static str,
pub ptr: T,
}
#[doc(hidden)]
impl<T: 'static> HotpatchExport<T> {
pub const fn __new(ptr: T, symbol: &'static str, sig: &'static str) -> Self {
Self { symbol, sig, ptr }
}
}