Trait RenderWindowExt

Source
pub trait RenderWindowExt {
    // Required methods
    fn center(&mut self);
    fn desktop_fullscreen(
        &mut self,
        title: &str,
        ctx_settings: &ContextSettings,
    );
}
Expand description

Extensions for RenderWindow

Required Methods§

Source

fn center(&mut self)

Center the window on screen

Source

fn desktop_fullscreen(&mut self, title: &str, ctx_settings: &ContextSettings)

Enter a fake fullscreen mode (desktop fullscreen)

Implementations on Foreign Types§

Source§

impl RenderWindowExt for RenderWindow

Source§

fn center(&mut self)

Source§

fn desktop_fullscreen(&mut self, title: &str, ctx_settings: &ContextSettings)

Implementors§