// Returns `true` if the window's swapchain needs to be recreated.
Returns `true` if the window's swapchain needs to be recreated.
Returns ` true ` if the window ' s swapchain needs to be recreated .
fn window_swapchain_needs_recreation(app: &App, window_id: window::Id) -> bool {
    let windows = app.windows.borrow();
    let window = &windows[&window_id];
    window
        .swapchain
        .needs_recreation
        .load(atomic::Ordering::Relaxed)
}
fn window_swapchain_needs_recreation ( app : & App , window_id : window :: Id ) -> bool { let windows = app . windows . borrow ( ) ; let window = & windows [ & window_id ] ; window . swapchain . needs_recreation . load ( atomic :: Ordering :: Relaxed ) }
Returns `true` if the window's swapchain needs to be recreated.
Returns ` true ` if the window ' s swapchain needs to be recreated .
app
&App
window_id
window::Id