Struct pscontroller_rs::classic::GamepadButtons[][src]

#[repr(C)]
pub struct GamepadButtons { /* fields omitted */ }

The digital buttons of the gamepad

Methods

impl GamepadButtons
[src]

A collection of helper functions to take the button bitfield and make them more ergonomic to use.

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

A button on the controller

The raw value of the buttons on the controller. Useful for aggregate functions

Trait Implementations

impl Clone for GamepadButtons
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations