retro_set_eject_state_t

Type Alias retro_set_eject_state_t 

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

If ejected is true, “ejects” the virtual disk tray. When ejected, the disk image index can be set.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.