Enum gilrs::Status[][src]

pub enum Status {
    Connected,
    Disconnected,
    NotObserved,
}

Status of gamepad's connection.

Only connected gamepads generate events. Disconnected gamepads retain their name and UUID. Cached state of disconnected and not observed gamepads is 0 (false for buttons and 0.0 for axis) and all actions preformed on such gamepad are no-op.

Variants

Trait Implementations

impl Copy for Status
[src]

impl Clone for Status
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Status
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Status
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Status

impl Sync for Status