Enum gilrs::MappingSource [−][src]
pub enum MappingSource { SdlMappings, Driver, None, }
Source of gamepad mappings.
Variants
SdlMappings
Gamepad uses SDL mappings.
Driver
Gamepad does not use any mappings but driver should provide unified controller layout.
None
Gamepad does not use any mappings and most gamepad events will probably be Button::Unknown
or Axis::Unknown
Trait Implementations
impl Copy for MappingSource
[src]
impl Copy for MappingSource
impl Clone for MappingSource
[src]
impl Clone for MappingSource
fn clone(&self) -> MappingSource
[src]
fn clone(&self) -> MappingSource
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MappingSource
[src]
impl Debug for MappingSource
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MappingSource
[src]
impl PartialEq for MappingSource
Auto Trait Implementations
impl Send for MappingSource
impl Send for MappingSource
impl Sync for MappingSource
impl Sync for MappingSource