Skip to main content

GamepadButtonMethods

pub trait GamepadButtonMethods<D: DomTypes> {
    // Required methods
    fn Pressed(&self) -> bool;
    fn Touched(&self) -> bool;
    fn Value(&self) -> Finite<f64>;
}

Required Methods§

Source

fn Pressed(&self) -> bool

Source

fn Touched(&self) -> bool

Source

fn Value(&self) -> Finite<f64>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§