Trait WindowExt

Source
pub trait WindowExt: Clone {
Show 16 methods // Required methods fn app(&self) -> ApplicationImpl; fn close(&self); fn free(&self); fn content_dimensions(&self) -> Dims2D; fn opacity(&self) -> u8; fn position(&self) -> Pos2D; fn title(&self) -> String; fn window_dimensions(&self) -> Dims2D; fn hide(&self); fn set_content_dimensions(&self, dimensions: Dims2D); fn set_opacity(&self, opacity: u8); fn set_position(&self, position: Pos2D); fn set_title(&self, title: &str); fn set_user_data(&self, user_data: *mut ()); fn set_window_dimensions(&self, dimensions: Dims2D); fn show(&self);
}

Required Methods§

Source

fn app(&self) -> ApplicationImpl

Source

fn close(&self)

Source

fn free(&self)

Source

fn content_dimensions(&self) -> Dims2D

Source

fn opacity(&self) -> u8

Source

fn position(&self) -> Pos2D

Source

fn title(&self) -> String

Source

fn window_dimensions(&self) -> Dims2D

Source

fn hide(&self)

Source

fn set_content_dimensions(&self, dimensions: Dims2D)

Source

fn set_opacity(&self, opacity: u8)

Source

fn set_position(&self, position: Pos2D)

Source

fn set_title(&self, title: &str)

Source

fn set_user_data(&self, user_data: *mut ())

Source

fn set_window_dimensions(&self, dimensions: Dims2D)

Source

fn show(&self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§