Struct tauri::window::PlatformWebview
source · pub struct PlatformWebview(/* private fields */);
Available on
desktop
and crate feature wry
only.Expand description
The platform webview handle. Accessed with Window
;
Implementations§
source§impl PlatformWebview
impl PlatformWebview
sourcepub fn controller(&self) -> ICoreWebView2Controller
Available on Windows only.
pub fn controller(&self) -> ICoreWebView2Controller
Returns the WebView2 controller.
Auto Trait Implementations§
impl RefUnwindSafe for PlatformWebview
impl !Send for PlatformWebview
impl !Sync for PlatformWebview
impl Unpin for PlatformWebview
impl UnwindSafe for PlatformWebview
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more