#[repr(u32)]pub enum gvr_controller_button {
GVR_CONTROLLER_BUTTON_NONE = 0,
GVR_CONTROLLER_BUTTON_CLICK = 1,
GVR_CONTROLLER_BUTTON_HOME = 2,
GVR_CONTROLLER_BUTTON_APP = 3,
GVR_CONTROLLER_BUTTON_VOLUME_UP = 4,
GVR_CONTROLLER_BUTTON_VOLUME_DOWN = 5,
GVR_CONTROLLER_BUTTON_COUNT = 6,
}Expand description
Controller buttons.
Variants§
GVR_CONTROLLER_BUTTON_NONE = 0
GVR_CONTROLLER_BUTTON_CLICK = 1
GVR_CONTROLLER_BUTTON_HOME = 2
GVR_CONTROLLER_BUTTON_APP = 3
GVR_CONTROLLER_BUTTON_VOLUME_UP = 4
GVR_CONTROLLER_BUTTON_VOLUME_DOWN = 5
GVR_CONTROLLER_BUTTON_COUNT = 6
Trait Implementations§
Source§fn clone(&self) -> gvr_controller_button
fn clone(&self) -> gvr_controller_button
Returns a duplicate 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§
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