Enum gdnative_common::OSPowerState [−][src]
#[repr(u32)]pub enum OSPowerState { Unknown, OnBattery, NoBattery, Charging, Charged, }
Variants
Unknown
OnBattery
NoBattery
Charging
Charged
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