pub enum BatteryTechnology {
Unknown,
NiMH,
LiIon,
LiPoly,
LiFe,
NiCd,
LiMn,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BatteryTechnology
impl Clone for BatteryTechnology
Source§fn clone(&self) -> BatteryTechnology
fn clone(&self) -> BatteryTechnology
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 BatteryTechnology
impl Debug for BatteryTechnology
Source§impl Default for BatteryTechnology
impl Default for BatteryTechnology
Source§fn default() -> BatteryTechnology
fn default() -> BatteryTechnology
Returns the “default value” for a type. Read more
Source§impl Display for BatteryTechnology
impl Display for BatteryTechnology
Source§impl PartialEq for BatteryTechnology
impl PartialEq for BatteryTechnology
impl StructuralPartialEq for BatteryTechnology
Auto Trait Implementations§
impl Freeze for BatteryTechnology
impl RefUnwindSafe for BatteryTechnology
impl Send for BatteryTechnology
impl Sync for BatteryTechnology
impl Unpin for BatteryTechnology
impl UnwindSafe for BatteryTechnology
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