pub struct JoystickConfig {
pub name: String,
pub pin_x: String,
pub pin_y: String,
pub pin_z: String,
pub transform: Vec<Vec<i16>>,
pub bias: Vec<i16>,
pub resolution: u16,
}Fields§
§name: String§pin_x: String§pin_y: String§pin_z: String§transform: Vec<Vec<i16>>§bias: Vec<i16>§resolution: u16Trait Implementations§
Source§impl Clone for JoystickConfig
impl Clone for JoystickConfig
Source§fn clone(&self) -> JoystickConfig
fn clone(&self) -> JoystickConfig
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 JoystickConfig
impl Debug for JoystickConfig
Source§impl Default for JoystickConfig
impl Default for JoystickConfig
Source§fn default() -> JoystickConfig
fn default() -> JoystickConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JoystickConfig
impl<'de> Deserialize<'de> for JoystickConfig
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 JoystickConfig
impl RefUnwindSafe for JoystickConfig
impl Send for JoystickConfig
impl Sync for JoystickConfig
impl Unpin for JoystickConfig
impl UnwindSafe for JoystickConfig
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