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

Trait Implementations

impl Debug for SDL_PowerState
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_PowerState
[src]

impl Clone for SDL_PowerState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SDL_PowerState
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for SDL_PowerState
[src]

impl Hash for SDL_PowerState
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more