Enum gvr_sys::gvr_controller_battery_level
[−]
[src]
#[repr(u32)]pub enum gvr_controller_battery_level { GVR_CONTROLLER_BATTERY_LEVEL_UNKNOWN, GVR_CONTROLLER_BATTERY_LEVEL_CRITICAL_LOW, GVR_CONTROLLER_BATTERY_LEVEL_LOW, GVR_CONTROLLER_BATTERY_LEVEL_MEDIUM, GVR_CONTROLLER_BATTERY_LEVEL_ALMOST_FULL, GVR_CONTROLLER_BATTERY_LEVEL_FULL, GVR_CONTROLLER_BATTERY_LEVEL_COUNT, }
Controller battery states.
Variants
GVR_CONTROLLER_BATTERY_LEVEL_UNKNOWN
GVR_CONTROLLER_BATTERY_LEVEL_CRITICAL_LOW
GVR_CONTROLLER_BATTERY_LEVEL_LOW
GVR_CONTROLLER_BATTERY_LEVEL_MEDIUM
GVR_CONTROLLER_BATTERY_LEVEL_ALMOST_FULL
GVR_CONTROLLER_BATTERY_LEVEL_FULL
GVR_CONTROLLER_BATTERY_LEVEL_COUNT
Trait Implementations
impl Debug for gvr_controller_battery_level
[src]
impl Copy for gvr_controller_battery_level
[src]
impl Clone for gvr_controller_battery_level
[src]
fn clone(&self) -> gvr_controller_battery_level
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_battery_level
[src]
fn eq(&self, __arg_0: &gvr_controller_battery_level) -> 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 !=
.