pub fn new<M: Manager<R>, L: Into<String>>(manager: &M, label: L, url: WindowUrl) -> Self {
    let runtime = match manager.runtime() {
      RuntimeOrDispatch::Runtime(r) => RuntimeHandleOrDispatch::RuntimeHandle(r.handle()),
      RuntimeOrDispatch::RuntimeHandle(h) => RuntimeHandleOrDispatch::RuntimeHandle(h),
      RuntimeOrDispatch::Dispatch(d) => RuntimeHandleOrDispatch::Dispatch(d),
    };
    let app_handle = manager.app_handle();
    Self {
      manager: manager.manager().clone(),
      runtime,
      app_handle,
      label: label.into(),
      window_builder: <R::Dispatcher as Dispatch>::WindowBuilder::new(),
      webview_attributes: WebviewAttributes::new(url),
      web_resource_request_handler: None,
    }
  }
/// Initializes a webview window builder with the given window label and URL to load on the webview.
Initializes a webview window builder with the given window label and URL to load on the webview.
Initializes a webview window builder with the given window label and URL to load on the webview .
pub fn new<M: Manager<R>, L: Into<String>>(manager: &M, label: L, url: WindowUrl) -> Self {
    let runtime = match manager.runtime() {
      RuntimeOrDispatch::Runtime(r) => RuntimeHandleOrDispatch::RuntimeHandle(r.handle()),
      RuntimeOrDispatch::RuntimeHandle(h) => RuntimeHandleOrDispatch::RuntimeHandle(h),
      RuntimeOrDispatch::Dispatch(d) => RuntimeHandleOrDispatch::Dispatch(d),
    };
    let app_handle = manager.app_handle();
    Self {
      manager: manager.manager().clone(),
      runtime,
      app_handle,
      label: label.into(),
      window_builder: <R::Dispatcher as Dispatch>::WindowBuilder::new(),
      webview_attributes: WebviewAttributes::new(url),
      web_resource_request_handler: None,
    }
  }
pub fn new < M : Manager < R > , L : Into < String > > ( manager : & M , label : L , url : WindowUrl ) -> Self { let runtime = match manager . runtime ( ) { RuntimeOrDispatch :: Runtime ( r ) => RuntimeHandleOrDispatch :: RuntimeHandle ( r . handle ( ) ) , RuntimeOrDispatch :: RuntimeHandle ( h ) => RuntimeHandleOrDispatch :: RuntimeHandle ( h ) , RuntimeOrDispatch :: Dispatch ( d ) => RuntimeHandleOrDispatch :: Dispatch ( d ) , } ; let app_handle = manager . app_handle ( ) ; Self { manager : manager . manager ( ) . clone ( ) , runtime , app_handle , label : label . into ( ) , window_builder : < R :: Dispatcher as Dispatch > :: WindowBuilder :: new ( ) , webview_attributes : WebviewAttributes :: new ( url ) , web_resource_request_handler : None , } }
Initializes a webview window builder with the given window label and URL to load on the webview.
Initializes a webview window builder with the given window label and URL to load on the webview .
manager
&M
label
L
url
WindowUrl
manager
&M
label
L
url
WindowUrl