INNER CODE UNIT · Rust
dump
toyota-connected/ivi-homescreen · templates/comp_surf/rust/context/src/lib.rs:69
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() {
println!("Native EGL Display: {:#04X?}", unsafe { (*self.native_window).egl_display as usize });
}
if self.native_window != null_mut() {
println!("Native EGL Window: {:#04X?}", unsafe { (*self.native_window).egl_window as usize });