pub trait RawSurface { // Required method unsafe fn get_ptr(&mut self) -> *mut c_void; }
returned pointer must be a valid *mut wl_surface pointer, and it must remain valid for as long as RawSurface object is alive.
*mut wl_surface
RawSurface