Enum gilrs::MappingError[][src]

pub enum MappingError {
    InvalidCode(Code),
    InvalidName,
    NotImplemented,
    NotConnected,
    DuplicatedEntry,
    UnknownElement,
    NotSdl2Compatible,
}

The error type for functions related to gamepad mapping.

Variants

Gamepad does not have element referenced by EvCode.

Name contains comma (',').

This function is not implemented for current platform.

Gamepad is not connected.

Same gamepad element is referenced by axis and button.

Mapping with Button::Unknown or Axis::Unknown.

Mapping have button or axis that are not present in SDL2.

Trait Implementations

impl Copy for MappingError
[src]

impl Clone for MappingError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MappingError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for MappingError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for MappingError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for MappingError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations