pub struct InputDeviceConfig {
pub encoder: Option<Vec<EncoderConfig>>,
pub pointing: Option<Vec<PointingDeviceConfig>>,
pub joystick: Option<Vec<JoystickConfig>>,
pub pmw3610: Option<Vec<Pmw3610Config>>,
}Expand description
Configurations for input devices
Fields§
§encoder: Option<Vec<EncoderConfig>>§pointing: Option<Vec<PointingDeviceConfig>>§joystick: Option<Vec<JoystickConfig>>§pmw3610: Option<Vec<Pmw3610Config>>Trait Implementations§
Source§impl Clone for InputDeviceConfig
impl Clone for InputDeviceConfig
Source§fn clone(&self) -> InputDeviceConfig
fn clone(&self) -> InputDeviceConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputDeviceConfig
impl Debug for InputDeviceConfig
Source§impl Default for InputDeviceConfig
impl Default for InputDeviceConfig
Source§fn default() -> InputDeviceConfig
fn default() -> InputDeviceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputDeviceConfig
impl<'de> Deserialize<'de> for InputDeviceConfig
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 InputDeviceConfig
impl RefUnwindSafe for InputDeviceConfig
impl Send for InputDeviceConfig
impl Sync for InputDeviceConfig
impl Unpin for InputDeviceConfig
impl UnwindSafe for InputDeviceConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)