pub struct MappingYaml {
pub device: Device,
pub axes: Axes,
pub triggers: Option<Triggers>,
pub dpad: Option<Dpad>,
pub buttons: Option<Buttons>,
pub buttons_base_bit_offset: usize,
}Fields§
§device: Device§axes: Axes§triggers: Option<Triggers>§dpad: Option<Dpad>NEW: base offset (in flat bits) for button map indices; defaults to 0
Trait Implementations§
Source§impl Debug for MappingYaml
impl Debug for MappingYaml
Source§impl<'de> Deserialize<'de> for MappingYaml
impl<'de> Deserialize<'de> for MappingYaml
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 MappingYaml
impl RefUnwindSafe for MappingYaml
impl Send for MappingYaml
impl Sync for MappingYaml
impl Unpin for MappingYaml
impl UnwindSafe for MappingYaml
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