Struct steamy_controller::Trigger
[−]
[src]
pub struct Trigger {
pub left: f32,
pub right: f32,
}The pressure on the triggers of the controller.
Fields
left: f32
The left trigger.
right: f32
The right trigger.
Trait Implementations
impl Clone for Trigger[src]
fn clone(&self) -> Trigger
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for Trigger[src]
impl PartialEq for Trigger[src]
fn eq(&self, __arg_0: &Trigger) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Trigger) -> bool
This method tests for !=.