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
sourceimpl Debug for PortableBatteryDesignVoltage
impl Debug for PortableBatteryDesignVoltage
sourceimpl From<u16> for PortableBatteryDesignVoltage
impl From<u16> for PortableBatteryDesignVoltage
sourceimpl PartialEq<PortableBatteryDesignVoltage> for PortableBatteryDesignVoltage
impl PartialEq<PortableBatteryDesignVoltage> for PortableBatteryDesignVoltage
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PortableBatteryDesignVoltage) -> bool
fn ne(&self, other: &PortableBatteryDesignVoltage) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more