#[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
sourceimpl Clone for retro_core_option_definition
impl Clone for retro_core_option_definition
sourcefn clone(&self) -> retro_core_option_definition
fn clone(&self) -> retro_core_option_definition
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_core_option_definition
impl Debug for retro_core_option_definition
impl Copy for retro_core_option_definition
Auto Trait Implementations
impl RefUnwindSafe for retro_core_option_definition
impl !Send for retro_core_option_definition
impl !Sync for retro_core_option_definition
impl Unpin for retro_core_option_definition
impl UnwindSafe for retro_core_option_definition
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
