Enum gdnative::_OSPowerState [−][src]
#[repr(u32)]pub enum _OSPowerState { PowerstateCharged, PowerstateCharging, PowerstateUnknown, PowerstateNoBattery, PowerstateOnBattery, }
Variants
PowerstateCharged
PowerstateCharging
PowerstateUnknown
PowerstateNoBattery
PowerstateOnBattery
Trait Implementations
impl Copy for _OSPowerState
[src]
impl Copy for _OSPowerState
impl Clone for _OSPowerState
[src]
impl Clone for _OSPowerState
fn clone(&self) -> _OSPowerState
[src]
fn clone(&self) -> _OSPowerState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for _OSPowerState
[src]
impl Debug for _OSPowerState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for _OSPowerState
[src]
impl PartialEq for _OSPowerState
fn eq(&self, other: &_OSPowerState) -> bool
[src]
fn eq(&self, other: &_OSPowerState) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for _OSPowerState
[src]
impl Eq for _OSPowerState
impl Hash for _OSPowerState
[src]
impl Hash for _OSPowerState
Auto Trait Implementations
impl Send for _OSPowerState
impl Send for _OSPowerState
impl Sync for _OSPowerState
impl Sync for _OSPowerState