pub enum Aw32001ChargeStatus {
Unknown,
NotCharging,
PreCharge,
Charging,
ChargeDone,
Raw(i32),
}Expand description
Charge state reported directly by the AW32001 charger.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Aw32001ChargeStatus
impl Clone for Aw32001ChargeStatus
Source§fn clone(&self) -> Aw32001ChargeStatus
fn clone(&self) -> Aw32001ChargeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Aw32001ChargeStatus
impl Debug for Aw32001ChargeStatus
Source§impl PartialEq for Aw32001ChargeStatus
impl PartialEq for Aw32001ChargeStatus
Source§fn eq(&self, other: &Aw32001ChargeStatus) -> bool
fn eq(&self, other: &Aw32001ChargeStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Aw32001ChargeStatus
impl Eq for Aw32001ChargeStatus
impl StructuralPartialEq for Aw32001ChargeStatus
Auto Trait Implementations§
impl Freeze for Aw32001ChargeStatus
impl RefUnwindSafe for Aw32001ChargeStatus
impl Send for Aw32001ChargeStatus
impl Sync for Aw32001ChargeStatus
impl Unpin for Aw32001ChargeStatus
impl UnsafeUnpin for Aw32001ChargeStatus
impl UnwindSafe for Aw32001ChargeStatus
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