Enum gilrs::MappingError [] [src]

pub enum MappingError {
    InvalidCode(NativeEvCode),
    InvalidName,
    NotImplemented,
    NotConnected,
    DuplicatedEntry,
}

The error type for functions related to gamepad mapping.

Variants

Gamepad does not have element referenced by NativeEvCode.

Name contains comma (',').

This function is not implemented for current platform.

Gamepad is not connected.

Same gamepad element is referenced by axis and button.

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.

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]

A short description of the error. 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.