Struct oxygengine_input::resources::controller::InputMappings
source · pub struct InputMappings {
pub axes: HashMap<String, HashMap<String, String>>,
pub triggers: HashMap<String, HashMap<String, String>>,
}
Fields§
§axes: HashMap<String, HashMap<String, String>>
{device name: {name from: name to}}
triggers: HashMap<String, HashMap<String, String>>
{device name: {name from: name to}}
Trait Implementations§
source§impl Clone for InputMappings
impl Clone for InputMappings
source§fn clone(&self) -> InputMappings
fn clone(&self) -> InputMappings
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 moresource§impl Debug for InputMappings
impl Debug for InputMappings
source§impl Default for InputMappings
impl Default for InputMappings
source§fn default() -> InputMappings
fn default() -> InputMappings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputMappings
impl<'de> Deserialize<'de> for InputMappings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for InputMappings
impl Send for InputMappings
impl Sync for InputMappings
impl Unpin for InputMappings
impl UnwindSafe for InputMappings
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more