pub enum ChargeStatus {
NotCharging,
PreCharge,
Charge,
ChargeDone,
}Variants§
Trait Implementations§
Source§impl Clone for ChargeStatus
impl Clone for ChargeStatus
Source§fn clone(&self) -> ChargeStatus
fn clone(&self) -> ChargeStatus
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 ChargeStatus
impl Debug for ChargeStatus
Source§impl PartialEq for ChargeStatus
impl PartialEq for ChargeStatus
Source§fn eq(&self, other: &ChargeStatus) -> bool
fn eq(&self, other: &ChargeStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Specifier for ChargeStatus
impl Specifier for ChargeStatus
Source§type InOut = ChargeStatus
type InOut = ChargeStatus
The interface type of the specifier. Read more
Source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
Source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for ChargeStatus
impl Eq for ChargeStatus
impl StructuralPartialEq for ChargeStatus
Auto Trait Implementations§
impl Freeze for ChargeStatus
impl RefUnwindSafe for ChargeStatus
impl Send for ChargeStatus
impl Sync for ChargeStatus
impl Unpin for ChargeStatus
impl UnsafeUnpin for ChargeStatus
impl UnwindSafe for ChargeStatus
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