#[repr(C)]pub struct retro_disk_control_ext_callback {
pub set_eject_state: retro_set_eject_state_t,
pub get_eject_state: retro_get_eject_state_t,
pub get_image_index: retro_get_image_index_t,
pub set_image_index: retro_set_image_index_t,
pub get_num_images: retro_get_num_images_t,
pub replace_image_index: retro_replace_image_index_t,
pub add_image_index: retro_add_image_index_t,
pub set_initial_image: retro_set_initial_image_t,
pub get_image_path: retro_get_image_path_t,
pub get_image_label: retro_get_image_label_t,
}
Fields§
§set_eject_state: retro_set_eject_state_t
§get_eject_state: retro_get_eject_state_t
§get_image_index: retro_get_image_index_t
§set_image_index: retro_set_image_index_t
§get_num_images: retro_get_num_images_t
§replace_image_index: retro_replace_image_index_t
§add_image_index: retro_add_image_index_t
§set_initial_image: retro_set_initial_image_t
Optional - may be NULL
get_image_path: retro_get_image_path_t
Optional - may be NULL
get_image_label: retro_get_image_label_t
Optional - may be NULL
Trait Implementations§
Source§impl Clone for retro_disk_control_ext_callback
impl Clone for retro_disk_control_ext_callback
Source§fn clone(&self) -> retro_disk_control_ext_callback
fn clone(&self) -> retro_disk_control_ext_callback
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for retro_disk_control_ext_callback
Auto Trait Implementations§
impl Freeze for retro_disk_control_ext_callback
impl RefUnwindSafe for retro_disk_control_ext_callback
impl Send for retro_disk_control_ext_callback
impl Sync for retro_disk_control_ext_callback
impl Unpin for retro_disk_control_ext_callback
impl UnwindSafe for retro_disk_control_ext_callback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more