pub trait WindowExtManual:
IsA<Window>
+ Sealed
+ 'static {
// Provided methods
unsafe fn set_user_data<T>(&self, user_data: &mut T) { ... }
unsafe fn user_data<T>(&self) -> &mut T { ... }
fn default_root_window() -> Window { ... }
fn offscreen_window_set_embedder(&self, embedder: &Window) { ... }
fn offscreen_window_get_embedder(&self) -> Option<Window> { ... }
fn offscreen_window_get_surface(&self) -> Option<Surface> { ... }
fn pixbuf(
&self,
src_x: i32,
src_y: i32,
width: i32,
height: i32,
) -> Option<Pixbuf> { ... }
fn background_pattern(&self) -> Option<Pattern> { ... }
fn set_background_pattern(&self, pattern: Option<&Pattern>) { ... }
}Provided Methods§
unsafe fn set_user_data<T>(&self, user_data: &mut T)
unsafe fn user_data<T>(&self) -> &mut T
fn default_root_window() -> Window
fn offscreen_window_set_embedder(&self, embedder: &Window)
fn offscreen_window_get_embedder(&self) -> Option<Window>
fn offscreen_window_get_surface(&self) -> Option<Surface>
fn pixbuf( &self, src_x: i32, src_y: i32, width: i32, height: i32, ) -> Option<Pixbuf>
fn background_pattern(&self) -> Option<Pattern>
fn set_background_pattern(&self, pattern: Option<&Pattern>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".