pub(crate) struct CleanupEnvHookData { pub(crate) data: T, pub(crate) hook: Box, } /// Created by `Env::add_env_cleanup_hook` /// And used by `Env::remove_env_cleanup_hook` #[derive(Clone, Copy)] pub struct CleanupEnvHook(pub(crate) *mut CleanupEnvHookData);