pub fn from_settings(settings: WindowSettings, shell: &'a mut Shell<A>, adapter: A) -> Self {
        WindowBuilder {
            adapter,
            always_on_top: settings.always_on_top,
            borderless: settings.borderless,
            bounds: Rectangle::new(settings.position, (settings.size.0, settings.size.1)),
            fonts: settings.fonts,
            request_receiver: None,
            resizeable: settings.resizeable,
            shell,
            title: settings.title,
        }
    }
/// Creates the window builder from a settings object.
Creates the window builder from a settings object.
Creates the window builder from a settings object .
pub fn from_settings(settings: WindowSettings, shell: &'a mut Shell<A>, adapter: A) -> Self {
        WindowBuilder {
            adapter,
            always_on_top: settings.always_on_top,
            borderless: settings.borderless,
            bounds: Rectangle::new(settings.position, (settings.size.0, settings.size.1)),
            fonts: settings.fonts,
            request_receiver: None,
            resizeable: settings.resizeable,
            shell,
            title: settings.title,
        }
    }
pub fn from_settings ( settings : WindowSettings , shell : & ' a mut Shell < A > , adapter : A ) -> Self { WindowBuilder { adapter , always_on_top : settings . always_on_top , borderless : settings . borderless , bounds : Rectangle :: new ( settings . position , ( settings . size . 0 , settings . size . 1 ) ) , fonts : settings . fonts , request_receiver : None , resizeable : settings . resizeable , shell , title : settings . title , } }
Creates the window builder from a settings object.
Creates the window builder from a settings object .
settings
WindowSettings
shell
&'a mut Shell<A>
adapter
A