Type Alias CheatSetContext

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

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

Aliased Type§

pub struct CheatSetContext<'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>>