retro_environment_t

Type Alias retro_environment_t 

Source
pub type retro_environment_t = Option<unsafe extern "C" fn(u32, *mut c_void) -> bool>;
Expand description

Environment callback. Gives implementations a way of performing uncommon tasks. Extensible.

Aliased Type§

pub enum retro_environment_t {
    None,
    Some(unsafe extern "C" fn(u32, *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, *mut c_void) -> bool)

Some value of type T.