pub enum PortableBatteryDesignVoltage {
MilliVolts(u16),
Unknown,
}
Expand description
Variants§
MilliVolts(u16)
Design voltage of the battery in mVolts.
Unknown
Design voltage of the battery in mVolts is unknown.
Trait Implementations§
source§impl Debug for PortableBatteryDesignVoltage
impl Debug for PortableBatteryDesignVoltage
source§impl From<u16> for PortableBatteryDesignVoltage
impl From<u16> for PortableBatteryDesignVoltage
source§impl PartialEq<PortableBatteryDesignVoltage> for PortableBatteryDesignVoltage
impl PartialEq<PortableBatteryDesignVoltage> for PortableBatteryDesignVoltage
source§fn eq(&self, other: &PortableBatteryDesignVoltage) -> bool
fn eq(&self, other: &PortableBatteryDesignVoltage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PortableBatteryDesignVoltage
impl StructuralEq for PortableBatteryDesignVoltage
impl StructuralPartialEq for PortableBatteryDesignVoltage
Auto Trait Implementations§
impl RefUnwindSafe for PortableBatteryDesignVoltage
impl Send for PortableBatteryDesignVoltage
impl Sync for PortableBatteryDesignVoltage
impl Unpin for PortableBatteryDesignVoltage
impl UnwindSafe for PortableBatteryDesignVoltage
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