#[repr(C)]pub struct retro_subsystem_rom_info {
pub desc: *const i8,
pub valid_extensions: *const i8,
pub need_fullpath: bool,
pub block_extract: bool,
pub required: bool,
pub memory: *const retro_subsystem_memory_info,
pub num_memory: u32,
}Fields§
§desc: *const i8Describes what the content is (SGB BIOS, GB ROM, etc).
valid_extensions: *const i8Same definition as retro_get_system_info().
need_fullpath: boolSame definition as retro_get_system_info().
block_extract: boolSame definition as retro_get_system_info().
required: boolThis 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_infoContent can have multiple associated persistent memory types (retro_get_memory()).
num_memory: u32Trait 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 duplicate 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 moreSource§impl Debug for retro_subsystem_rom_info
impl Debug for retro_subsystem_rom_info
impl Copy for retro_subsystem_rom_info
Auto Trait Implementations§
impl Freeze for retro_subsystem_rom_info
impl RefUnwindSafe for retro_subsystem_rom_info
impl !Send for retro_subsystem_rom_info
impl !Sync for retro_subsystem_rom_info
impl Unpin for retro_subsystem_rom_info
impl UnwindSafe for retro_subsystem_rom_info
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