#[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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.