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 duplicate 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 Freeze for InputMappings
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