Enum vjoy_wrapper::vjoy_extra::SDL2VjoyError[][src]

pub enum SDL2VjoyError {
    DeviceCountError,
    RegError(VJDRegistryError),
    IntegerOverflows(&'static stru32),
    SdlError(String),
}
Expand description

Describes error from [sdl2_get_vjoys].

Variants

DeviceCountError

The number of vjoy joysticks found by SDL2 doesn’t match the number of vjoy devices found in the windows registry.

RegError(VJDRegistryError)

Registry error when trying to capture vjoy registered devices in the windows registry.

IntegerOverflows(&'static stru32)

A given integer was so big that its representation as a C integer would be negative.

SdlError(String)

SDL2 error.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.