pub enum ElectricChargeUnit {
Coulomb,
MilliCoulomb,
MicroCoulomb,
AmpereHour,
MilliAmpereHour,
}Expand description
Display/conversion units for ElectricCharge.
Variants§
Coulomb
Coulombs (C).
MilliCoulomb
Millicoulombs (mC).
MicroCoulomb
Microcoulombs (uC).
AmpereHour
Ampere-hours (Ah).
MilliAmpereHour
Milliampere-hours (mAh).
Trait Implementations§
Source§impl Clone for ElectricChargeUnit
impl Clone for ElectricChargeUnit
Source§fn clone(&self) -> ElectricChargeUnit
fn clone(&self) -> ElectricChargeUnit
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 ElectricChargeUnit
impl Debug for ElectricChargeUnit
Source§impl PartialEq for ElectricChargeUnit
impl PartialEq for ElectricChargeUnit
impl Copy for ElectricChargeUnit
impl Eq for ElectricChargeUnit
impl StructuralPartialEq for ElectricChargeUnit
Auto Trait Implementations§
impl Freeze for ElectricChargeUnit
impl RefUnwindSafe for ElectricChargeUnit
impl Send for ElectricChargeUnit
impl Sync for ElectricChargeUnit
impl Unpin for ElectricChargeUnit
impl UnsafeUnpin for ElectricChargeUnit
impl UnwindSafe for ElectricChargeUnit
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