#[repr(C)]pub struct retro_core_option_definition {
pub key: *const c_char,
pub desc: *const c_char,
pub info: *const c_char,
pub values: [retro_core_option_value; 128],
pub default_value: *const c_char,
}Fields§
§key: *const c_charVariable to query in RETRO_ENVIRONMENT_GET_VARIABLE.
desc: *const c_charHuman-readable core option description (used as menu label)
info: *const c_charHuman-readable core option information (used as menu sublabel)
values: [retro_core_option_value; 128]Array of retro_core_option_value structs, terminated by NULL
default_value: *const c_charDefault core option value. Must match one of the values in the retro_core_option_value array, otherwise will be ignored
Trait Implementations§
source§impl Clone for retro_core_option_definition
impl Clone for retro_core_option_definition
source§fn clone(&self) -> retro_core_option_definition
fn clone(&self) -> retro_core_option_definition
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