pub fn open_blocking(settings: Settings<A::Flags>) {
        let scale_policy = settings.window.scale;
        let logical_width = settings.window.size.width as f64;
        let logical_height = settings.window.size.height as f64;
        let flags = settings.flags;

        let (sender, receiver) = mpsc::unbounded();

        Window::open_blocking(
            settings.window,
            move |window: &mut baseview::Window<'_>| -> IcedWindow<A> {
                IcedWindow::new(
                    window,
                    flags,
                    scale_policy,
                    logical_width,
                    logical_height,
                    sender,
                    receiver,
                )
            },
        );
    }
/// Open a new window that blocks the current thread until the window is destroyed.
///
/// * `settings` - The settings of the window.
Open a new window that blocks the current thread until the window is destroyed.
`settings` - The settings of the window.
Open a new window that blocks the current thread until the window is destroyed . ` settings ` - The settings of the window .
pub fn open_blocking(settings: Settings<A::Flags>) {
        let scale_policy = settings.window.scale;
        let logical_width = settings.window.size.width as f64;
        let logical_height = settings.window.size.height as f64;
        let flags = settings.flags;
        let (sender, receiver) = mpsc::unbounded();
        Window::open_blocking(
            settings.window,
            move |window: &mut baseview::Window<'_>| -> IcedWindow<A> {
                IcedWindow::new(
                    window,
                    flags,
                    scale_policy,
                    logical_width,
                    logical_height,
                    sender,
                    receiver,
                )
            },
        );
    }
pub fn open_blocking ( settings : Settings < A :: Flags > ) { let scale_policy = settings . window . scale ; let logical_width = settings . window . size . width as f64 ; let logical_height = settings . window . size . height as f64 ; let flags = settings . flags ; let ( sender , receiver ) = mpsc :: unbounded ( ) ; Window :: open_blocking ( settings . window , move | window : & mut baseview :: Window < ' _ > | -> IcedWindow < A > { IcedWindow :: new ( window , flags , scale_policy , logical_width , logical_height , sender , receiver , ) } , ) ; }
Open a new window that blocks the current thread until the window is destroyed.
Open a new window that blocks the current thread until the window is destroyed .
settings
Settings<A::Flags>
settings
Settings<A::Flags>