pub trait WindowService {
// Required methods
fn add_layer(&self, control: Rc<dyn ControlObject>);
fn remove_layer(&self, control: &Rc<dyn ControlObject>);
fn repaint(&self);
fn set_cursor(&self, cursor_shape: CursorShape);
fn start_system_move(&self);
fn start_system_resize(&self, edges: Edge);
}Required Methods§
fn add_layer(&self, control: Rc<dyn ControlObject>)
fn remove_layer(&self, control: &Rc<dyn ControlObject>)
fn repaint(&self)
fn set_cursor(&self, cursor_shape: CursorShape)
fn start_system_move(&self)
fn start_system_resize(&self, edges: Edge)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".