Window

Trait Window 

Source
pub trait Window: Any {
    // Required methods
    fn set_top(&mut self, top: bool);
    fn area(&self) -> Rect;
}

Required Methods§

Source

fn set_top(&mut self, top: bool)

Set as top window.

Source

fn area(&self) -> Rect

Window area.

Implementations§

Source§

impl dyn Window

Source

pub fn downcast_ref<T: Any>(&self) -> Option<&T>

Source

pub fn downcast_mut<T: Any>(&mut self) -> Option<&mut T>

Implementors§