retro_get_image_index_t

Type Alias retro_get_image_index_t 

Source
pub type retro_get_image_index_t = Option<unsafe extern "C" fn() -> c_uint>;
Expand description

Gets current disk index. First disk is index 0. If return value is >= get_num_images(), no disk is currently inserted.

Aliased Type§

pub enum retro_get_image_index_t {
    None,
    Some(unsafe extern "C" fn() -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn() -> u32)

Some value of type T.