GetRegionContext

Type Alias GetRegionContext 

Source
pub type GetRegionContext<'a> = GenericContext<'a>;
Expand description

Functions that are safe to be called in Core::on_get_region.

Aliased Type§

pub struct GetRegionContext<'a> {
    pub(crate) environment_callback: &'a Option<unsafe extern "C" fn(u32, *mut c_void) -> bool>,
    pub(crate) interfaces: Arc<RwLock<InterfaceList>>,
}

Fields§

§environment_callback: &'a Option<unsafe extern "C" fn(u32, *mut c_void) -> bool>§interfaces: Arc<RwLock<InterfaceList>>