#[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_charDescribes what the content is (SGB BIOS, GB ROM, etc).
valid_extensions: *const c_charSame 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: c_uintTrait Implementations
sourceimpl Clone for retro_subsystem_rom_info
impl Clone for retro_subsystem_rom_info
sourcefn clone(&self) -> retro_subsystem_rom_info
fn clone(&self) -> retro_subsystem_rom_info
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for retro_subsystem_rom_info
impl Debug for retro_subsystem_rom_info
impl Copy for retro_subsystem_rom_info
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
