Enum sdl2_sys::SDL_PowerState
[−]
[src]
#[repr(u32)]pub enum SDL_PowerState { SDL_POWERSTATE_UNKNOWN, SDL_POWERSTATE_ON_BATTERY, SDL_POWERSTATE_NO_BATTERY, SDL_POWERSTATE_CHARGING, SDL_POWERSTATE_CHARGED, }
\brief The basic state for the system's power supply.
Variants
SDL_POWERSTATE_UNKNOWN
SDL_POWERSTATE_ON_BATTERY
SDL_POWERSTATE_NO_BATTERY
SDL_POWERSTATE_CHARGING
SDL_POWERSTATE_CHARGED
Trait Implementations
impl Debug for SDL_PowerState
[src]
impl Copy for SDL_PowerState
[src]
impl Clone for SDL_PowerState
[src]
fn clone(&self) -> SDL_PowerState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SDL_PowerState
[src]
fn eq(&self, __arg_0: &SDL_PowerState) -> bool
[src]
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[src]
This method tests for !=
.