retro_set_image_index_t

Type Alias retro_set_image_index_t 

Source
pub type retro_set_image_index_t = Option<unsafe extern "C" fn(index: c_uint) -> bool>;
Expand description

Sets image index. Can only be called when disk is ejected. The implementation supports setting “no disk” by using an index >= get_num_images().

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.