Struct emscripten_sys::EmscriptenBatteryEvent
[−]
[src]
#[repr(C)]pub struct EmscriptenBatteryEvent { pub chargingTime: f64, pub dischargingTime: f64, pub level: f64, pub charging: c_int, }
Fields
chargingTime: f64
dischargingTime: f64
level: f64
charging: c_int
Trait Implementations
impl Debug for EmscriptenBatteryEvent
[src]
impl Copy for EmscriptenBatteryEvent
[src]
impl Clone for EmscriptenBatteryEvent
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more