Struct emscripten_sys::EmscriptenBatteryEvent [] [src]

#[repr(C)]
pub struct EmscriptenBatteryEvent { pub chargingTime: f64, pub dischargingTime: f64, pub level: f64, pub charging: c_int, }

Fields

Trait Implementations

impl Debug for EmscriptenBatteryEvent
[src]

Formats the value using the given formatter.

impl Copy for EmscriptenBatteryEvent
[src]

impl Clone for EmscriptenBatteryEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more