pub enum AndroidBatteryState {
Unknown,
Charging,
Discharging,
NotCharging,
Full,
}
Variants§
Trait Implementations§
source§impl Clone for AndroidBatteryState
impl Clone for AndroidBatteryState
source§fn clone(&self) -> AndroidBatteryState
fn clone(&self) -> AndroidBatteryState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AndroidBatteryState
impl Debug for AndroidBatteryState
source§impl PartialEq for AndroidBatteryState
impl PartialEq for AndroidBatteryState
source§fn eq(&self, other: &AndroidBatteryState) -> bool
fn eq(&self, other: &AndroidBatteryState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AndroidBatteryState
impl Eq for AndroidBatteryState
impl StructuralEq for AndroidBatteryState
impl StructuralPartialEq for AndroidBatteryState
Auto Trait Implementations§
impl RefUnwindSafe for AndroidBatteryState
impl Send for AndroidBatteryState
impl Sync for AndroidBatteryState
impl Unpin for AndroidBatteryState
impl UnwindSafe for AndroidBatteryState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more