Enum lsm::BatteryType
[−]
[src]
#[repr(i32)]pub enum BatteryType { Unknown, Other, Chemical, Capacitor, }
Variants
Unknown
Plugin failed to detect battery type.
Other
Vendor specific battery type.
Chemical
Chemical battery, e.g. Li-ion battery.
Capacitor
Super capacitor.
Trait Implementations
impl Debug for BatteryType
[src]
impl Clone for BatteryType
[src]
fn clone(&self) -> BatteryType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for BatteryType
[src]
fn eq(&self, __arg_0: &BatteryType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.