[][src]Struct multiinput::devices::JoystickInfo

pub struct JoystickInfo {
    pub name: String,
    pub handle: HANDLE,
    pub serial: Option<String>,
    pub info: RID_DEVICE_INFO,
    pub caps: HIDP_CAPS,
    pub button_caps: Vec<HIDP_BUTTON_CAPS>,
    pub value_caps: Vec<HIDP_VALUE_CAPS>,
    pub preparsed_data: Vec<u8>,
    pub state: JoystickState,
    pub is_360_controller: bool,
}

Fields

name: Stringhandle: HANDLEserial: Option<String>info: RID_DEVICE_INFOcaps: HIDP_CAPSbutton_caps: Vec<HIDP_BUTTON_CAPS>value_caps: Vec<HIDP_VALUE_CAPS>preparsed_data: Vec<u8>state: JoystickStateis_360_controller: bool

Trait Implementations

impl Clone for JoystickInfo[src]

impl Debug for JoystickInfo[src]

impl From<JoystickInfo> for JoystickDisplayInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for JoystickInfo

impl !Send for JoystickInfo

impl !Sync for JoystickInfo

impl Unpin for JoystickInfo

impl UnwindSafe for JoystickInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.