#[repr(C)]pub struct retro_input_descriptor {
pub port: c_uint,
pub device: c_uint,
pub index: c_uint,
pub id: c_uint,
pub description: *const c_char,
}
Expand description
Describes how the libretro implementation maps a libretro input bind to its internal input system through a human readable string. This string can be used to better let a user configure input.
Fields§
§port: c_uint
Associates given parameters with a description.
device: c_uint
§index: c_uint
§id: c_uint
§description: *const c_char
Human readable description for parameters. The pointer must remain valid until retro_unload_game() is called.
Trait Implementations§
Source§impl Clone for retro_input_descriptor
impl Clone for retro_input_descriptor
Source§fn clone(&self) -> retro_input_descriptor
fn clone(&self) -> retro_input_descriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for retro_input_descriptor
impl Debug for retro_input_descriptor
impl Copy for retro_input_descriptor
Auto Trait Implementations§
impl Freeze for retro_input_descriptor
impl RefUnwindSafe for retro_input_descriptor
impl !Send for retro_input_descriptor
impl !Sync for retro_input_descriptor
impl Unpin for retro_input_descriptor
impl UnwindSafe for retro_input_descriptor
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