fn invalidate_canvas(&self) {
        use winapi::um::winuser::InvalidateRect;
        let handle = self.window.handle.hwnd().unwrap();
        unsafe { InvalidateRect(handle, ::std::ptr::null(), 1); }
    }
/// Windows won't show the change to the canvas before the window is resized because it's Windows
/// This fixes the issue.
Windows won't show the change to the canvas before the window is resized because it's Windows
This fixes the issue.
Windows won ' t show the change to the canvas before the window is resized because it ' s Windows This fixes the issue .
fn invalidate_canvas(&self) {
        use winapi::um::winuser::InvalidateRect;
        let handle = self.window.handle.hwnd().unwrap();
        unsafe { InvalidateRect(handle, ::std::ptr::null(), 1); }
    }
fn invalidate_canvas ( & self ) { use winapi :: um :: winuser :: InvalidateRect ; let handle = self . window . handle . hwnd ( ) . unwrap ( ) ; unsafe { InvalidateRect ( handle , :: std :: ptr :: null ( ) , 1 ) ; } }
Windows won't show the change to the canvas before the window is resized because it's Windows
This fixes the issue.
Windows won ' t show the change to the canvas before the window is resized because it ' s Windows This fixes the issue .
&self