Enum power_monitor::BatteryStatus
source · pub enum BatteryStatus {
Unknown,
Charging,
Discharging,
NotCharging,
}
Variants§
Trait Implementations§
source§impl Clone for BatteryStatus
impl Clone for BatteryStatus
source§fn clone(&self) -> BatteryStatus
fn clone(&self) -> BatteryStatus
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 BatteryStatus
impl Debug for BatteryStatus
impl Copy for BatteryStatus
Auto Trait Implementations§
impl RefUnwindSafe for BatteryStatus
impl Send for BatteryStatus
impl Sync for BatteryStatus
impl Unpin for BatteryStatus
impl UnwindSafe for BatteryStatus
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