Enum lsm::BatteryType [] [src]

#[repr(i32)]
pub enum BatteryType { Unknown, Other, Chemical, Capacitor, }

Variants

Plugin failed to detect battery type.

Vendor specific battery type.

Chemical battery, e.g. Li-ion battery.

Super capacitor.

Trait Implementations

impl Debug for BatteryType
[src]

[src]

Formats the value using the given formatter.

impl Clone for BatteryType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for BatteryType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Copy for BatteryType
[src]