Struct openvr::ControllerState
[−]
[src]
#[repr(C)]pub struct ControllerState { pub packet_num: u32, pub button_pressed: u64, pub button_touched: u64, pub axis: [ControllerAxis; 5], }
Fields
packet_num: u32
axis: [ControllerAxis; 5]
Trait Implementations
impl Debug for ControllerState
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for ControllerState
[src]
impl Clone for ControllerState
[src]
fn clone(&self) -> ControllerState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more