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 duplicate 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
impl Copy for AndroidBatteryState
impl Eq for AndroidBatteryState
impl StructuralPartialEq for AndroidBatteryState
Auto Trait Implementations§
impl Freeze for AndroidBatteryState
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