Skip to main content

HasWindow

Trait HasWindow 

Source
pub trait HasWindow {
    // Required method
    fn window_mut(&mut self) -> &mut Window;
}
Expand description

Anything with a window definition: a NamedWindow, or a dialect’s function builder holding the window of its OVER.

Required Methods§

Source

fn window_mut(&mut self) -> &mut Window

The window definition to modify.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§