[]Enum wooting_analog_common::WootingAnalogResult

#[repr(C)]
pub enum WootingAnalogResult {
    Ok,
    UnInitialized,
    NoDevices,
    DeviceDisconnected,
    Failure,
    InvalidArgument,
    NoPlugins,
    FunctionNotFound,
    NoMapping,
    NotAvailable,
    IncompatibleVersion,
}

Variants

Ok
UnInitialized

Item hasn't been initialized

NoDevices

No Devices are connected

DeviceDisconnected

Device has been disconnected

Failure

Generic Failure

InvalidArgument

A given parameter was invalid

NoPlugins

No Plugins were found

FunctionNotFound

The specified function was not found in the library

NoMapping

No Keycode mapping to HID was found for the given Keycode

NotAvailable

Indicates that it isn't available on this platform

IncompatibleVersion

Indicates that the operation that is trying to be used is for an older version

Methods

impl WootingAnalogResult[src]

pub fn is_ok(&self) -> bool[src]

pub fn is_ok_or_no_device(&self) -> bool[src]

Trait Implementations

impl Clone for WootingAnalogResult[src]

impl Debug for WootingAnalogResult[src]

impl Default for WootingAnalogResult[src]

impl<T> From<WootingAnalogResult> for SDKResult<T>[src]

impl FromPrimitive for WootingAnalogResult

impl Into<WootingAnalogResult> for SDKResult<()>[src]

impl Into<bool> for WootingAnalogResult[src]

impl Into<f32> for WootingAnalogResult[src]

impl Into<i32> for WootingAnalogResult[src]

impl PartialEq<WootingAnalogResult> for WootingAnalogResult[src]

impl StructuralPartialEq for WootingAnalogResult[src]

Auto Trait Implementations

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.