pub fn resize(&self) -> Result<()> {
    #[cfg(target_os = "windows")]
    #[cfg(feature = "winrt")]
    self.webview.resize(HWND(self.window.hwnd() as _))?;
    #[cfg(target_os = "windows")]
    #[cfg(feature = "win32")]
    self.webview.resize(self.window.hwnd())?;
    Ok(())
  }
/// Resize the WebView manually. This is required on Windows because its WebView API doesn't
/// provide a way to resize automatically.
Resize the WebView manually. This is required on Windows because its WebView API doesn't
provide a way to resize automatically.
Resize the WebView manually . This is required on Windows because its WebView API doesn ' t provide a way to resize automatically .
pub fn resize(&self) -> Result<()> {
    #[cfg(target_os = "windows")]
    #[cfg(feature = "winrt")]
    self.webview.resize(HWND(self.window.hwnd() as _))?;
    #[cfg(target_os = "windows")]
    #[cfg(feature = "win32")]
    self.webview.resize(self.window.hwnd())?;
    Ok(())
  }
pub fn resize ( & self ) -> Result < ( ) > { # [ cfg ( target_os " " ) ] # [ cfg ( feature " " ) ] self . webview . resize ( HWND ( self . window . hwnd ( ) as _ ) ) ? ; # [ cfg ( target_os " " ) ] # [ cfg ( feature " " ) ] self . webview . resize ( self . window . hwnd ( ) ) ? ; Ok ( ( ) ) }
Resize the WebView manually.
Resize the WebView manually .
&self
&self