Struct steamy_controller::Trigger [] [src]

pub struct Trigger {
    pub left: f32,
    pub right: f32,
}

The pressure on the triggers of the controller.

Fields

The left trigger.

The right trigger.

Trait Implementations

impl Clone for Trigger
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Trigger
[src]

impl PartialEq for Trigger
[src]

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

This method tests for !=.

impl Default for Trigger
[src]

Returns the "default value" for a type. Read more

impl Debug for Trigger
[src]

Formats the value using the given formatter.