#[repr(C)]pub struct retro_subsystem_rom_info {
pub desc: *const c_char,
pub valid_extensions: *const c_char,
pub need_fullpath: bool,
pub block_extract: bool,
pub required: bool,
pub memory: *const retro_subsystem_memory_info,
pub num_memory: c_uint,
}
Fields§
§desc: *const c_char
Describes what the content is (SGB BIOS, GB ROM, etc).
valid_extensions: *const c_char
Same definition as retro_get_system_info().
need_fullpath: bool
Same definition as retro_get_system_info().
block_extract: bool
Same definition as retro_get_system_info().
required: bool
This is set if the content is required to load a game. If this is set to false, a zeroed-out retro_game_info can be passed.
memory: *const retro_subsystem_memory_info
Content can have multiple associated persistent memory types (retro_get_memory()).
num_memory: c_uint
Trait Implementations§
source§impl Clone for retro_subsystem_rom_info
impl Clone for retro_subsystem_rom_info
source§fn clone(&self) -> retro_subsystem_rom_info
fn clone(&self) -> retro_subsystem_rom_info
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more