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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Status
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Status
[src]

[src]

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

1.0.0
[src]

This method tests for !=.