Enum gvr_sys::gvr_controller_button
[−]
[src]
#[repr(u32)]pub enum gvr_controller_button { GVR_CONTROLLER_BUTTON_NONE, GVR_CONTROLLER_BUTTON_CLICK, GVR_CONTROLLER_BUTTON_HOME, GVR_CONTROLLER_BUTTON_APP, GVR_CONTROLLER_BUTTON_VOLUME_UP, GVR_CONTROLLER_BUTTON_VOLUME_DOWN, GVR_CONTROLLER_BUTTON_COUNT, }
Controller buttons.
Variants
GVR_CONTROLLER_BUTTON_NONE
GVR_CONTROLLER_BUTTON_CLICK
GVR_CONTROLLER_BUTTON_HOME
GVR_CONTROLLER_BUTTON_APP
GVR_CONTROLLER_BUTTON_VOLUME_UP
GVR_CONTROLLER_BUTTON_VOLUME_DOWN
GVR_CONTROLLER_BUTTON_COUNT
Trait Implementations
impl Debug for gvr_controller_button
[src]
impl Copy for gvr_controller_button
[src]
impl Clone for gvr_controller_button
[src]
fn clone(&self) -> gvr_controller_button
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 PartialEq for gvr_controller_button
[src]
fn eq(&self, __arg_0: &gvr_controller_button) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for gvr_controller_button
[src]
impl Hash for gvr_controller_button
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.