pub struct VRGamepadState {
pub gamepad_id: u32,
pub connected: bool,
pub timestamp: f64,
pub axes: Vec<f64>,
pub buttons: Vec<VRGamepadButton>,
pub pose: VRPose,
}
Fields§
§gamepad_id: u32
§connected: bool
§timestamp: f64
§axes: Vec<f64>
§pose: VRPose
Trait Implementations§
Source§impl Clone for VRGamepadState
impl Clone for VRGamepadState
Source§fn clone(&self) -> VRGamepadState
fn clone(&self) -> VRGamepadState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VRGamepadState
impl Debug for VRGamepadState
Source§impl Default for VRGamepadState
impl Default for VRGamepadState
Source§fn default() -> VRGamepadState
fn default() -> VRGamepadState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VRGamepadState
impl RefUnwindSafe for VRGamepadState
impl Send for VRGamepadState
impl Sync for VRGamepadState
impl Unpin for VRGamepadState
impl UnwindSafe for VRGamepadState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more