[−][src]Enum sdl2_sys::SDL_PowerState
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
< cannot determine power status
< Not plugged in, running on the battery
< Plugged in, no battery available
< Plugged in, charging battery
< Plugged in, battery charged
Trait Implementations
impl Clone for SDL_PowerState
[src][+]
impl Copy for SDL_PowerState
[src]
impl Debug for SDL_PowerState
[src][+]
impl Eq for SDL_PowerState
[src]
impl Hash for SDL_PowerState
[src][+]
impl PartialEq<SDL_PowerState> for SDL_PowerState
[src][+]
impl StructuralEq for SDL_PowerState
[src]
impl StructuralPartialEq for SDL_PowerState
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,