INNER CODE UNIT · Rust

version

toyota-connected/ivi-homescreen · templates/comp_surf/rust/context/src/lib.rs:65

    pub fn version() -> u32 {
        0x00010000
    }

    pub fn dump(&self) {
        println!("Width: {}", self.width);
        println!("Height: {}", self.height);
        println!("AssetsPath: [{}]", self.assets_path);
        println!("CachePath: [{}]", self.cache_path);
        println!("MiscPath: [{}]", self.misc_path);
        println!("AccessToken: [{}]", self.access_token);
        if self.native_window != null_mut() {
            println!("Native Display: {:#04X?}", unsafe { (*self.native_window).display as usize });
        }
        if self.native_window != null_mut() {
            println!("Native Surface: {:#04X?}", unsafe { (*self.native_window).surface as usize });
        }
        if self.native_window != null_mut() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…