pub struct VRGamepadButton {
pub pressed: bool,
pub touched: bool,
}
Fields§
§pressed: bool
§touched: bool
Implementations§
Trait Implementations§
Source§impl Clone for VRGamepadButton
impl Clone for VRGamepadButton
Source§fn clone(&self) -> VRGamepadButton
fn clone(&self) -> VRGamepadButton
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 moreAuto Trait Implementations§
impl Freeze for VRGamepadButton
impl RefUnwindSafe for VRGamepadButton
impl Send for VRGamepadButton
impl Sync for VRGamepadButton
impl Unpin for VRGamepadButton
impl UnwindSafe for VRGamepadButton
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