[][src]Struct multiinput::devices::Devices

pub struct Devices {
    pub mice: Vec<MouseInfo>,
    pub keyboards: Vec<KeyboardInfo>,
    pub joysticks: Vec<JoystickInfo>,
    pub device_map: HashMap<HANDLE, usize>,
    pub original_device_map: HashMap<HANDLE, usize>,
}

Stores Names to All Raw Input Devices

Fields

mice: Vec<MouseInfo>keyboards: Vec<KeyboardInfo>joysticks: Vec<JoystickInfo>device_map: HashMap<HANDLE, usize>original_device_map: HashMap<HANDLE, usize>

Methods

impl Devices[src]

pub fn new() -> Devices[src]

impl Devices[src]

pub fn filter_device_map(&mut self, device_filter: HashSet<String>)[src]

pub fn reset_device_map(&mut self)[src]

Trait Implementations

impl Clone for Devices[src]

impl From<Devices> for DevicesDisplayInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for Devices

impl !Send for Devices

impl !Sync for Devices

impl Unpin for Devices

impl UnwindSafe for Devices

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.