electron-sys 0.4.0

Raw bindings to the Electron API for projects using wasm-bindgen.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern {
    #[derive(Clone, Debug, PartialEq)]
    pub type BlinkMemoryInfo;

    #[wasm_bindgen(method)]
    pub fn allocated(this: &BlinkMemoryInfo) -> u32;

    #[wasm_bindgen(method)]
    pub fn marked(this: &BlinkMemoryInfo) -> u32;

    #[wasm_bindgen(method)]
    pub fn total(this: &BlinkMemoryInfo) -> u32;
}