Enum gdnative_common::OSPowerState [−][src]
#[repr(u32)]pub enum OSPowerState { Unknown, OnBattery, NoBattery, Charging, Charged, }
Variants
UnknownOnBatteryNoBatteryChargingCharged
Trait Implementations
impl Copy for OSPowerState[src]
impl Copy for OSPowerStateimpl Clone for OSPowerState[src]
impl Clone for OSPowerStatefn clone(&self) -> OSPowerState[src]
fn clone(&self) -> OSPowerStateReturns 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 OSPowerStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for OSPowerState[src]
impl PartialEq for OSPowerStatefn eq(&self, other: &OSPowerState) -> bool[src]
fn eq(&self, other: &OSPowerState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for OSPowerState[src]
impl Eq for OSPowerStateimpl Hash for OSPowerState[src]
impl Hash for OSPowerStateAuto Trait Implementations
impl Send for OSPowerState
impl Send for OSPowerStateimpl Sync for OSPowerState
impl Sync for OSPowerState